Open Ports on Cisco
Posted on 2012-08-17
This seems like a basic question but I want to get it correct.
I am to open up a couple of ports on my Cisco 831 (tcp/22 and udp/1194).
Let's say the internal IP address that these ports are to go to is 192.168.100.100 and the external IP address of the Cisco is 18.104.22.168 (and no there is not any loopback on the Cisco).
From what I understand I would just put in two lines in that state:
ip nat inside source static tcp 192.168.100.100 22 22.214.171.124 22 extendable
ip nat inside source static udp 192.168.100.100 1194 126.96.36.199 1194 extendable
and put a couple of lines in the access-list:
access-list 102 permit tcp any host 188.8.131.52 eq 22
access-list 102 permit udp any host 184.108.40.206 eq 1194
To me this should work but it doesn't. The vendor that has to get to 192.168.100.100 is not able to through SSH.
Do I need to put in:
ip nat outside source static tcp 192.168.100.100 22 220.127.116.11 22 extendable
ip nat outside source static udp 192.168.100.100 1194 18.104.22.168 1194 extendable
I am not sure what to do.