Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Help Configure Port Forwarding on Cisco 887

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
Purple

Help Configure Port Forwarding on Cisco 887

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.
Purple

Help Configure Port Forwarding on Cisco 887

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.
9 REPLIES
Purple

Help Configure Port Forwarding on Cisco 887

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.
New Member

Help Configure Port Forwarding on Cisco 887

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 ?

Purple

Help Configure Port Forwarding on Cisco 887

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.
New Member

Help Configure Port Forwarding on Cisco 887

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

New Member

Help Configure Port Forwarding on Cisco 887

Yeah ! it works. You are great

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

Purple

Help Configure Port Forwarding on Cisco 887

Hi,

of course it is.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
New Member

Help Configure Port Forwarding on Cisco 887

excellent

Purple

Help Configure Port Forwarding on Cisco 887

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.
New Member

Help Configure Port Forwarding on Cisco 887

thanks. i will do that

4913
Views
20
Helpful
9
Replies