Date: Tue, 1 Jul 2003 18:49:26 -0400 From: "Matthew Emmerton" <matt@compar.com> To: <FBSD_user@adelphia.net>, "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org> Subject: Re: Stand-a-lone NAT PGM Message-ID: <004001c34023$061701f0$1200a8c0@gsicomp.on.ca> References: <MIEPLLIBMLEEABPDBIEGIEKGEAAA.FBSD_user@adelphia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004001c34023$061701f0$1200a8c0>
