Link to home
Start Free TrialLog in
Avatar of i_am_me
i_am_me

asked on

can't browse localy hosted sites on cisco 857

Hi all,
I have a new Cisco 857. I have configured it via Putty. All seems OK and I can browse the internet etc but I can't browse any sites I host my self, localy.
I can ping the sites and it returns the WAN IP but type the URL in the browser and page can't be displayed message.
If I add the urls (host names) to the hosts file in windows no problem but it can't get to anything I do localy.
Hope someone can help.
Please advise if you need anymore info.
Thanks Steve
Avatar of 3nerds
3nerds
Flag of United States of America image

I am Me,

Do you have a DMZ configured or are you just doing Static Nat translations from outside to inside for you websites?

You stated that you can ping the ip address, are you pinging the outside address or your internal one?

More info is going to be needed as there are some technical limitations in a router.

Regards,

3nerds
Avatar of i_am_me
i_am_me

ASKER

Hi 3 Nerds,
No I have a WAN IP coming in, no DMZ.
Hits the router and then gets port forwarded to the webserver box 192.168.0.10 on port 80 for the web server.
When I ping one of the websites, that I host, I get the WAN IP coming back. So pinging from inside I get the WAN IP.
I currently use a Linksys modem / router to do the web and email hosting on the ADSL link that I use. These units you just setup the port forwarding and it all works. It is only when I plug i the Cisco that it is an issue. Alot cheaper less complicated routers can do this but the Cisco must be able to do it but the config needed I am unsure about.
If you need anymore info just let me know
Thanks Steve
Hi Steve,

Thanks for the update. Going to make up some address here so that I can wrap the scenario up in my head.

So  you have a webserver at internal ip address 192.168.0.10 and you are using port forwarding in a linksys device that points your outside address of lets say 77.77.77.10 to the websever internally.

When you ping 77.77.77.10 with the linksys in place you get a reply. You also get a reply when you ping www.webserver.com with the linksys in place. You can browse the website on this server as well?

You put the Cisco router in place and you get the following results.

When you ping 77.77.77.10 with the Cisco in place you get a reply, but when you ping www.webserver.com with the cisco in place it does not work and can not browse the websites?

Sorry if this seems like I am beating a dead horse but the devil is in the details.

Regards,

3nerds
Avatar of i_am_me

ASKER

Hi 3Nerds,
We are getting there.
Yes I have a webserver that sits at 192.168.0.10. I have 1 allocated static IP that I run here on an ADSL link. Lets call that 123.123.123.123.
WAN IP = 123.123.123.123
Web server LAN IP = 192.1698.0.10
An internal site I host = www.webserver.com
With the Linksys in place I can ping www.webserver.com and get a reply 123.123.123.123. I can also browse www.webserver.com. I can also browse www.telstra.com and all is good. No probs.

OK

Cisco in place
I can ping www.webserver.com and get a reply 123.123.123.123, I can browse www.telstra.com, but if I try to browse www.webserver.com (or any other site I host on 192.168.0.10) I get the old page can't be displayed etc.

Let me know if you would like me to paste the config from the Cisco 857.
I am making some changes to it trying different things to see if I can get it to work.

Hope that clears things up
Cheers
Steve
Feel free to paste the config it can't hurt, just make sure you x out any pertinent info.

As to your setup.

First you can ping 123.123.123.123 because it is the IP address of the outside interface of your router.

What is www.telstra.com? Just an internet website?

I am not sure why this works for the linksys device as I was not aware that they allowed for u-turn pathing. Also this device is using PAT. At this point I am assuming that you are using PAT in your router as well?

you should have a command something similar to this:

ip nat inside source static tcp 192.168.0.10 80 interface Ethernet1 80

The problem with this is that when you attempt to access your internal website via www.webserver.com which resolves to 123.123.123.123 it goes in you inside interface and then back out your outside interface then has come back in via PAT to the proper port and address. I am not aware of this working in a cisco router. There are ways to do dns re-writes in an ASA but it is generally simpler to change your internal DNS server to point www.webserver.com to 192.168.0.10.

The only way I can think of this possibly working would be to write some sort of nat on your inside, but I see other problems with that as well.

Regards,

3nerds



ASKER CERTIFIED SOLUTION
Avatar of i_am_me
i_am_me

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glad that you have a solution, but isn't that what I suggested you do?

Quote:
change your internal DNS server to point www.webserver.com to 192.168.0.10

Regards,

3nerds