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

Port fowarding

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.

5 REPLIES
Blue

Re: Port fowarding

Do you have the nat inside and outside commands on the interfaces?

int f0/X

ip nat inside

int dialer 1

ip nat outside

Community Member

Re: Port fowarding

yes I do

Blue

Re: Port fowarding

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.

Community Member

Re: Port fowarding

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.

Community Member

Re: Port fowarding

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)

291
Views
0
Helpful
5
Replies
CreatePlease to create content