03-27-2012 04:18 PM - edited 03-04-2019 03:49 PM
Hi guys,
I have a router 1802 with a several vlans with IP 192.168.x.0/24 for each vlan (x, it meaning 1, 2, 3, 4, etc.).
Now I need that an IP address outside from my network (this IP it is always the same) to be access to on particular machine that is in a private network (192.168.3.0/24) through a several ports:
25 (TCP,UDP), 80 (TCP,UDP), 554 (TCP,UDP), 2000 (TCP,UDP), 10002 (TCP,UDP), 10000 (TCP,UDP), 3000 (TCP,UDP), 3041 (TCP,UDP)
How can I do it?
Outside PC ---------Internet ----MyRouter -----MyParticularPC
83.240.194.99 193.136.80.1 192.168.3.1
Thanks in advanced,
António
03-27-2012 11:39 PM
Hi,
on internet interface(interface x/x) : ip nat outside
on the vlan interface : ip nat inside
ip nat inside source static tcp 192.168.3.1 25 interface x/x 25
ip nat inside source static udp 192.168.3.1 25 interface x/x 25
ip nat inside source static tcp 192.168.3.1 80 interface x/x 8081
ip nat inside source static udp 192.168.3.1 80 interface x/x 8081
ip nat inside source static tcp 192.168.3.1 554 interface x/x 554
ip nat inside source static udp192.168.3.1 554 interface x/x 554
ip nat inside source static tcp 192.168.3.1 2000 interface x/x 2000
ip nat inside source static udp 192.168.3.1 2000 interface x/x 2000
and so on for other ports
Regards.
Alain
04-12-2012 02:21 PM
Thank you,
António
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide