IOS firewall & Nat port forwarding

Answered Question
May 31st, 2008
User Badges:

I have a 1811 connected to the internet with a cable modem and a dynamic IP. I'm looking to forward port 80 from the outside IP to an internal host for testing. I've used the SDM to setup the router but I haven't found a way to forward the port that I need done. I'm not necessarily set on using the SDM to do this, I just don't want to set it up so if I make a change that gets over written later by the SDM.


If anyone could that would be greatly appreciated.

Correct Answer by Farrukh Haroon about 8 years 12 months ago

How about:


ip nat inside source static tcp 192.168.1.1 80 interface serial 0 80


Or are you looking to combine this with a service like Dynamic DNS (and want to access the service remotely using the hostname)?


Regards


Farrukh

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Correct Answer
Farrukh Haroon Sat, 05/31/2008 - 11:46
User Badges:
  • Red, 2250 points or more

How about:


ip nat inside source static tcp 192.168.1.1 80 interface serial 0 80


Or are you looking to combine this with a service like Dynamic DNS (and want to access the service remotely using the hostname)?


Regards


Farrukh

nmooremvsc Sat, 05/31/2008 - 12:51
User Badges:

Well,


I tried that and it looks like the port is still closed.

sirdudesly Sat, 05/31/2008 - 19:11
User Badges:

you also need to open the port in the firewall, from memory SDM "claims" it will open the port if you use it to make a static nat translation (which is what port forwarding is)

nmooremvsc Sat, 05/31/2008 - 19:29
User Badges:

Yeah it helps when the firewall on the host is not stopping things too.

Actions

This Discussion