cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
481
Views
0
Helpful
5
Replies

Port fowarding

wharrison
Level 1
Level 1

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 5

dgahm
Level 8
Level 8

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

int f0/X

ip nat inside

int dialer 1

ip nat outside

yes I do

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.

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.

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)

Getting Started

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: