How best to route internal clients to internal web server?
From: Captain Dondo (yan_at_NsOeSiPnAeMr.com)
Date: 02/28/05
- Next message: buck: "Re: traffic shaping a forwarded host"
- Previous message: iceman_to_the_max_at_yahoo.com: "Making a router from a Linux machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 10:04:11 -0800
I have the following setup:
an OpenBSD firewall. The only manchine on my network with a real IP.
a Linux server, which provides web (and other) services.
some linux clients.
A request for the web server comes in to the firewall, which NATs and port
forwards it to the internal server.
But clients on the inside cannot cannot use the web server, unless I put
appropriate host entries into the /etc/hosts file, resolving the 'real'
name of the web server to the private IP address.
Thus in /etc/hosts I must have
192.168.128.2 www.xxxx.com spam.xxxx.com
order hosts,bind
otherwise my internal clients cannot find the web server.
Is there a better way to handle this than editing each and every
/etc/hosts on the network?
I run my own dhcp and bind servers, but I don't think I can use bind to
serve up the domain names... ISTR the last time I tried, it wouldn't let
me since I am not authoritative for the domain, and it wreaked havoc with
DNS....
-- use munged address above to email me SpamTrap DoMeNow@seiner.com
- Next message: buck: "Re: traffic shaping a forwarded host"
- Previous message: iceman_to_the_max_at_yahoo.com: "Making a router from a Linux machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|