From owner-freebsd-net@FreeBSD.ORG Tue Jul 8 08:58:26 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 559B237B401 for ; Tue, 8 Jul 2003 08:58:26 -0700 (PDT) Received: from exchange.wan.no (exchange.wan.no [80.86.128.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA6543F3F for ; Tue, 8 Jul 2003 08:58:24 -0700 (PDT) (envelope-from sten.daniel.sorsdal@wan.no) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 8 Jul 2003 17:57:10 +0200 Message-ID: <0AF1BBDF1218F14E9B4CCE414744E70F07DEE6@exchange.wanglobal.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Acess to virtual hosts are being blocked by natd/firewall Thread-Index: AcNFZJ40nKVfnq7OQkScXXzjo8NepQAApdBw From: =?iso-8859-1?Q?Sten_Daniel_S=F8rsdal?= To: "Guilherme Oliveira" , "FreeBSD-NET" Subject: RE: Acess to virtual hosts are being blocked by natd/firewall X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 15:58:26 -0000 > Sten Daniel S=F8rsdal wrote: > > Make sure that you are diverting the traffic from LAN to=20 > DMZ via NATD. >=20 > I didn'tunderstand very well: > ipfw is not doing this thrue the "OPEN" configuration by default ? >=20 No. in rc.firewall (line 124): ${fwcmd} add 50 divert natd all from any to any via ${natd_interface} This line only NAT's traffic going in and out of your upstream = interface. in "OPEN" configuration it NATs the traffic from LAN and DMZ -to/from- = internet. Not between the LAN and DMZ area, which is what you need. You could look into setting up your own little proxy DNS (such as = pdnsd). Add the servers to hosts file on your workstations, or make it NAT the = way you want. - Sten