From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 16:09:21 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 3D0E737B401 for ; Tue, 1 Jul 2003 16:09:21 -0700 (PDT) Received: from mta1.adelphia.net (mta1.adelphia.net [64.8.50.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C88E43FBF for ; Tue, 1 Jul 2003 16:09:20 -0700 (PDT) (envelope-from FBSD_user@adelphia.net) Received: from barbish ([68.169.105.49]) by mta1.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030701231314.PYPD25556.mta1.adelphia.net@barbish>; Tue, 1 Jul 2003 19:13:14 -0400 From: "FBSD_User" To: "Matthew Emmerton" , , "freebsd-questions@FreeBSD. ORG" Date: Tue, 1 Jul 2003 19:09:18 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <004001c34023$061701f0$1200a8c0@gsicomp.on.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Stand-a-lone NAT PGM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FBSD_user@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 23:09:21 -0000 Are you saying I can run NATD as a stand-a-lone function? IE: not enabling IPFW and using the 'divert natd' rule -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Matthew Emmerton Sent: Tuesday, July 01, 2003 6:49 PM To: FBSD_user@adelphia.net; freebsd-questions@FreeBSD. ORG Subject: Re: Stand-a-lone NAT PGM > I have been looking for NAT program which is not part of some other > program like NATD is part of IPFW or IPNAT is part of IPFILTER or > NAT of user ppp. I can not find any NAT program in the FBSD ports > collection unless I mis-understood some description. If anybody > knows of one please let me know. Yes I know that I can set firewall > rule to pass all packets just to use NAT function, but I don't want > overhead of firewall logic, just simple NAT like PPP NAT function > with out the PPP stuff. The reason you can't find a NAT program in the ports collection is because such a program exists in the base system. natd(8) is a front-end to the libalias(3) library, which implements generic packet aliasing and masqerading functions (aka NAT). > I was wondering if the NAT logic code from user ppp could be copied > and made into stand-a-lone NAT program. My programming ability is > not great so I am asking for opinions on weather this is technical > possible? Thanks Both ppp(8) and natd(8) use the libalias(3) library for NAT functionality. -- Matt Emmerton _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"