
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2012 07:20 PM - edited 03-07-2019 08:18 AM
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.
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 02:06 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 06:21 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2012 11:47 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 01:46 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 02:06 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 04:33 AM
Thanks again for your kind help Alain. I will give it a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 04:59 AM
Yeah ! it works. You are great
One last question, is the settings persistant even the router is reboot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 05:58 AM
Hi,
of course it is.
Regards.
Alain
Don't forget to rate helpful posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 06:09 AM
excellent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 06:21 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 06:04 PM
thanks. i will do that
