How can I configure 877 to access WWW server on LAN from inside LAN too?

Unanswered Question
Jun 11th, 2010

Hi,

There is a machine on my lan with IP 10.10.10.2

Apache installed on that host is configured to serve several named virtual hosts: www.domain a...b...c.com

While I was using a cheap SMC router, I could type www.domaina.com in a browser on another machine on the LAN and access 10.10.10.2, which would serve the correct web server.

Now that I am on 877 it allows only the users from the WAN to access the named virtual hosts. I can't access them from inside the network, and I can't cheat on Apache side and create copies of the name virtual hosts as virtual hosts on another port, because the servers I am using embed full domain name in all the links, so I am getting only as far as the home page w/o any graphics and with no ability to follow links.

Basically, I can set up a copy of virtual host www.domaina.com as 10.10.10.2:8080, but when I type that address in the browser, all the links on the home page still say http://www.domaina.com/link1 etc.

So I have to set something up on 877 router to replicate the functionality of my old SMC VBR7004.

Hoping I am making sense, please feel free to ask if something is not clear.

Regards

Zen

Attachment: 
I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Zenith888 Sat, 06/12/2010 - 18:01

Andrew:

Can you give me an idea what the command would be to set that up?

I know of one workaround - it is to set up hosts entry to www.domainx.com

But I'd have to do it on each of the machines on the LAN which is a royal pita.

Thank you!

Zen

Zenith888 Sun, 06/13/2010 - 09:39

Andrew,

Your first link says Forbidden file or application and the other one is a 15 page generic FAQ.

If you know the answer, can you please help with the command?

Please do not attempt to educate me - routers is not my piece of bread and I am just a mechanic setting up shop network. This box will be set up and forgotten for years until it becomes obsolete. If you know the command, please ease my pain.

Thank you!

Zen

Zen,

Plain speaking eh - I like it!

1) First easy option is - if there is an internal DNS server (Which there should be!) have a specific A Record for the domain to point to the internal server. And the internal hosts would use this DNS server to resolve addresses.

2) Second option is configure the router with a static 1:1 NAT for the external IP address to the internal IP.  This is only applicable IF you have more than 1 external IP address available?? Do you?? if so then your config will need to be:-

ip nat inside source static <> <> extendable

HTH>

Zenith888 Sun, 06/13/2010 - 10:59

Andrew:

We don't have an internal DNS, it would be an overkill for just a dozen machines.

If I have to go that route, I'd rather copy hosts file across.

And we only have 1 external IP.

Thanks

Zen

Zenith888 Sun, 06/13/2010 - 11:25

It is still a curious fact that the old cheap router could do what Cisco 877 would not allow. The solution must be out there.

Zenith888 Sun, 06/13/2010 - 12:46

The old one is retired as it's power supply gave up and it survived being spliced with an old AT form factor PC power supply. Plus it could not cope with traffic once the ISP upgraded DSL service from 3 to 5 Mbit. We are using many remote desktop sessions, VPN, VoIP and it was simply choking when many connections were established, even though single connection was just as fast as any other router's.

I wonder how they achieved that feature I am missing, even though the device was cheap and had very limited capabilities.

Actions

This Discussion

Related Content