Cisco Port forwarding

Configuration

1. Lets configure a static route on our Router so it knows how to reach the Internet

Router(config)#ip route 0.0.0.0 0.0.0.0 122.30.12.2

2. Let’s configure the inside and outside interfaces.

Router(config)#interface FastEthernet 0/0
Router(config-if)#ip nat inside

Router(config)#interface FastEthernet 0/1
Router(config-if)#ip nat outside

Port forwarding

3. Let’s forward port 80, Whenever someone tries to access your server from the internet they will be able to see what’s running on HTTP.

Router(config)#ip nat inside source static tcp 10.10.10.10 80 122.30.12.1 80 extendable

4. Now you can verify.

Router#show ip nat translation

Add a Comment

Your email address will not be published. Required fields are marked *

Menu