From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 13:12:30 2003 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 AE6BD16A4CE for ; Fri, 26 Dec 2003 13:12:30 -0800 (PST) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10C5F43D2D for ; Fri, 26 Dec 2003 13:12:29 -0800 (PST) (envelope-from micheal@tsgincorporated.com) Received: from dredster ([68.12.79.37]) by lakemtao07.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031226211229.GQGL2432.lakemtao07.cox.net@dredster>; Fri, 26 Dec 2003 16:12:29 -0500 Message-ID: From: "Micheal Patterson" To: , "freebsd" References: <20031226203632.15022.qmail@web40408.mail.yahoo.com> Date: Fri, 26 Dec 2003 15:12:38 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: natd.conf problem (was: natd problem (but close!) ) 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: Fri, 26 Dec 2003 21:12:30 -0000 ----- Original Message ----- From: "The Bean" To: "freebsd" Sent: Friday, December 26, 2003 2:36 PM Subject: natd.conf problem (was: natd problem (but close!) ) > I've made a tad of progress. Since everyone and his > brother can configure FreeBSD to act as a gateway, > I decided to focus on the one difference between my > setup and the generic gateway setup: my one-line > natd.conf file, with the line > > redirect_address 10.0.0.13 xx.yy.zz.186 > > It looked like the gateway was doing the internal-to- > external translation on outgoing packets, but was unable > to translate from external to internal. Anyway, I commented > that one line, so my natd.conf is essentially empty. > Success -- I can get packets forwarded no problem (otherwise > you wouldn't be reading this!) > > Of course, this means I can't really serve anything, so > I'm not done yet. It would make sense I have a snag in my > natd.conf file, since it's the one piece I was taking a wild > stab at. Does anyone know what that file should look like, > for a simple address redirection? > > Thanks a lot, > T.B. Um. How many real IP's you have sitting on XL0? If it's only one, you don't to redirect_address on it otherwise, it will lose internet access itself since all return traffic will go to the internal address. If you have multiple IP's on xl0, redirect one of the aliased IP's to the internal system. Otherwise, use redirect_port instead. -- Micheal Patterson Network Administration TSG Incorporated 405-917-0600