Question : Problem: Cisco 17xx port mapping to translated IP

Need detailed series of commands - from login to done - to enable port mapping from public address to LAN machine where router is performing NAT. i.e., router public IP is 199.223.211.3 and internal LAN seat is 192.168.6.2 and I want to allow TCP port 5721 access from outside to LAN seat at 192.168.6.2.
Can access router and understand concepts, but know zip about IOS -- need EVERY keystroke from start to finish.

Answer : Problem: Cisco 17xx port mapping to translated IP

Raooo;

here goes just going to give it a shot and make some serious assumptions. I am also going to assume that nat is already configured and the inside and outside statments are already in the configuration.  I am also going to assume that the IP address that you stated as the public is not assigned to anything else in the router or the ISP.

log in via the console

router>

type enable
router#configure terminal
router(config)# ip nat inside source static tcp 192.168.6.2 5721 199.223.211.3 5721

router(config)#end
router#wr mem

This should work if all the assumptions are correct and it will only forward TCP port 5721

Thanks
Scott
Random Solutions  
 
programming4us programming4us