From owner-freebsd-questions@FreeBSD.ORG Sat Feb 5 15:00:58 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A39716A4CE for ; Sat, 5 Feb 2005 15:00:58 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DBB443D1F for ; Sat, 5 Feb 2005 15:00:57 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j15F0jB0003600; Sat, 5 Feb 2005 15:00:46 GMT Message-ID: <4204E0BB.3090905@cis.strath.ac.uk> Date: Sat, 05 Feb 2005 15:05:31 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Gelsema, Patrick" References: <000401c50b81$d1a6bf60$0a4dca0a@superhero.nl> In-Reply-To: <000401c50b81$d1a6bf60$0a4dca0a@superhero.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: "'Gelsema, Patrick'" cc: freebsd-questions@freebsd.org Subject: Re: natd or firewall problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 15:00:58 -0000 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]