07-20-2006 06:57 AM - edited 03-03-2019 04:09 AM
I have a cisco 2621 router running 12.1 ios, and I am trying to port foward port 80 back to a Solaris 10 webserver. My router has a verizon dsl modem as dialer and its has a dhcp ip number. I have put this command in the router: ip nat inside source static tcp 172.16.0.67 80 interface Dialer1 80, but I still can not pull the webpage up from the outside of my network. I can telnet to my router from the outside to the dhcp ip address, but it wont foward the http port to the web server.
07-20-2006 07:01 AM
Do you have the nat inside and outside commands on the interfaces?
int f0/X
ip nat inside
int dialer 1
ip nat outside
07-20-2006 07:03 AM
yes I do
07-20-2006 07:05 AM
debug ip nat could offer some clues. You might also try it without specifying the port. Or at least only specify 80 on the 172 side. You also should have the overload keyword.
07-20-2006 07:31 AM
I change it to ip nat inside source static tcp 172.16.0.67 80 interface Dialer1 81 and it works, but why doesnt port 80 works. Also port 22 works.
08-01-2006 07:53 AM
I have the same problem with a c876, but after these hints still doesn't work.
My box has:
interface BVI1
ip nat inside
...
I tried two way:
1,
interface ATM0.1 point-to-point
ip nat outside
or
2,
interface Dialer0
ip nat outside
and i tried
ip nat inside source static tcp 192.168.1.5 80 interface ATM0.1 80
and ip nat inside source static tcp 192.168.1.5 80 interface Dialer0 80
And didn't work anytime. (I tried on port 81 too)
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: