FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Cisco 2821 port forwarding

 


pjv
Where using Cisco 2821 ISR router in our office. We only have one public ip address which is used by the router so our web server is configured with a private ip address (192.168.1.1). I configured port forwarding in the router:

ip nat inside source static tcp 192.168.1.1 80 interface GigabitEthernet0/0 80

which works for people browsing from outside our LAN. How come that PCs inside the LAN (i.e. 192.168.1.5) cannot see the webpages in our server. What comes out is the login prompt of the cisco router?

It is ironic that PCs of the same private network cannot browse our web server while if you access it from outside the LAN, you can perfectly view the webpage.

what do i need to add in my configuration?
ocalhoun
Have you tried to access the files on your server directly? (without using the internet)
I think you'll have to do that, because with only one public IP, it would look to any DNS like your server is requesting to be pointed to itself, and that just dosen't work.
pjv
yes, i did try to access the server directly by using its ip address or computer name

i.e. http://192.168.1.5/mywebpage/index.htm
http://webserver/mywebpage/index.htm

and it works but problem is i have accounts in gotdns.org like http://mywebserver.gotdns.org which points to our public ip address used by the cisco router which also points to our web server through port forwarding

ip nat inside source static tcp 192.168.1.1 80 interface GigabitEthernet0/0 80

Now, when i browse http://mywebserver.gotdns.org from inside the LAN it doesn't work but from outside the LAN it works.

For short, the router doesn't allow me to browse my web server if i use full domain name like for example http://mywebserver.gotdns.org pointed to my web server.

Hopefully my explanation is still clear. Embarassed
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.