cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13180
Views
20
Helpful
9
Replies

Help Configure Port Forwarding on Cisco 887

khonhow_tan
Level 1
Level 1

Hi,

I need to configure the port forwarding on Cisco 887 to forward port  22 on Public IP to a LAN IP port 2200.

I don't know anything on Cisco  router at all, beside telnet to the cisco and quit . Please provide step  by step command.

Thanks a lot.

2 Accepted Solutions

Accepted Solutions

Hi,

enable ----> enter enable password if any configured

config t

ip nat inside source static tcp 192.168.1.x 2200 interface dialer 0 22

int dialer 0  ----> I suppose this is your WAN interface

ip nat outside

int vlan 1  ---> I suppose this is your LAN interface

ip address 192.168.1.x 255.255.255.0

ip nat inside

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

Hi,

I forgot to mention that you must issue either a wr command or a copy run start command for the settings to be saved in the startup config and stay after a reboot. Of course this is valid for all configs you do on the device.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

9 Replies 9

cadet alain
VIP Alumni
VIP Alumni

Hi,

on LAN facing interface: ip nat inside

on WAN facing interface: ip nat outside

then in global config:  ip nat inside source static tcp x.x.x.x 2200 interface x 22  where x.x.x.x is LAN IP and interface is WAN interface

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Hi Alain

Thanks for the reply.

Sorry i am totally new to the Cisco router, what are the command to input after i telnet to the cisco router ?

Hi,

enable ----> enter enable password if any configured

config t

ip nat inside source static tcp 192.168.1.x 2200 interface dialer 0 22

int dialer 0  ----> I suppose this is your WAN interface

ip nat outside

int vlan 1  ---> I suppose this is your LAN interface

ip address 192.168.1.x 255.255.255.0

ip nat inside

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Thanks again for your kind help Alain. I will give it a try.

Yeah ! it works. You are great

One last question, is the settings persistant even the router is reboot ?

Hi,

of course it is.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

excellent

Hi,

I forgot to mention that you must issue either a wr command or a copy run start command for the settings to be saved in the startup config and stay after a reboot. Of course this is valid for all configs you do on the device.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

thanks. i will do that

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card