
Inbound port forwarding?
Hi IEOC,
I'm trying to put my lab on the Internet. I have switched my 2511 console server to telnet 3001 using the rotary command on vty 0 4.
I want my edge router, with an IP provided dynamically from my ISP, to forward incoming tcp 3001 to my console server.
So, on the edge router, set up something that does this: From * port 3001 forward to 192.168.254.200 port 3001.
I cannot figure out how to do this.
Any help would be apprecated.
Thanks,
PC
Comments
I'm not sure what you meant by the above. Is that the logic for the statement you are trying to create and need help with? If so, what device do you have on the edge?
the edge device. I'd like to connect to its outside public interface, and have it forward that connection to a 2511 on the the inside LAN.
Sorry, the edge router is a 2611.
Hi!
Guess you wanna habe permanent access to your device from the internet although you have dynamic ip addresses from your isp. Dyndns is the best option here in combination with port forwarding on your router. Which nachine handles the isp dialup?
Regards!
Hi.
If you are getting a DHCP address from you ISP, you'll likely need to set up DDNS. Otherwise you can use extendable NAT to forward your ports.
ip nat inside source static tcp 192.168.254.200 3001 <global address> 3001 extendable
Eborgard, that worked perfectly in GNS3. Thank you so much! Where did you find that command?!?
Oh, I have used that command in the past to get to my own stuff. I don't recall how I encountered it. I am glad it worekd for you though. :-)