Date: Sun, 6 Feb 2005 13:35:03 +0100 From: "Gelsema, Patrick" <gelsemap@superhero.nl> To: "'Chris Hodgins'" <chodgins@cis.strath.ac.uk> Cc: freebsd-questions@freebsd.org Subject: RE: natd or firewall problem? Message-ID: <000501c50c48$480c9550$0a4dca0a@superhero.nl> In-Reply-To: <4204E0BB.3090905@cis.strath.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
I think that has to depend on how your natting and firewalling is set up. Aka how do you manage incoming traffic, outgoing and forwarding traffic between 2 interfaces. I'm using ipchains for it, and I got my rules per interface setup, and do thorough checks regarding sources. But it is something that could work. Just have to work out your firewall rules. I use 2 types of dns, one for internal use, and the other for external. My 0,2 cents Patrick > -----Original Message----- > From: Chris Hodgins [mailto:chodgins@cis.strath.ac.uk] > Sent: Saturday, February 05, 2005 4:06 PM > To: Gelsema, Patrick > Cc: 'Cristian Salan'; 'Gelsema, Patrick'; > freebsd-questions@freebsd.org > Subject: Re: natd or firewall problem? > > > Gelsema, Patrick wrote: > > Thats right, you can do the following: > > Put the ip-address with its FQDn > (www.webserverwhatever.com) in every > > hosts file (taken its windows) or in its hosts file on > freebsd. Or you > > run an internal DNS with an internal zone for your domain whilst > > running on the internet the external zone. > > > > Regards, > > > > Patrick > > > > Out of interest, why would using the external ip address not work. > Would the packets not just be directed out to the router as per usual > and then the router would notice it should forward the packets to the > www server? What am I missing? The only problem I can think > of might > be sending packets back to the internal ip address. > > Thanks > Chris > > [snip] >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c50c48$480c9550$0a4dca0a>