Home >

How to enable Cisco static port forwarding

8. March 2011
Telnet to Router and enter provided username and password
Then follow these steps to setup port forwards

To enter Admin Mode ( will require root password )

Type enable at the prompt

To show currently configured Interfaces ( there could be several )

Type show ip interface at the prompt.

To show Current Port Forwards on Router

Type show ip nat translations at the prompt.


To Enter Configuation Mode


Type configure at the prompt.


To add Port Forwarding rules modify then type the following commands at the prompt.
Note: "serial0" was the found interface name from running command "show ip interface"


ip nat inside source static (TCPorUDP) (YourCompsIP) (PortToForward) interface serial0 (PortToForward)


To forward port 5900 TCP to the computer that had the 10.10.10.10 ip address you would do the following.


ip nat inside source static tcp 10.10.10.10 5900 interface serial0 5900


End Configure Session


Press CTRL-Z


Once you have entered the config, test it out and if it works,
issue this command to make it persistent:


Copy run start


When it says

Destination filename [startup-config]?
just press enter.


That’s all

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading