Date: Wed, 7 Apr 1999 23:45:58 -1200 From: "Keith Newton" <keith@grafica.co.nz> To: ari <ari@suutari.iki.fi> Cc: freebsd-net@FreeBSD.ORG Subject: Re: IP accounting and NATD Message-ID: <370b4576.1870.0@grafica.co.nz>
next in thread | raw e-mail | index | archive | help
>Hi, > >Keith Newton wrote: >> >> >> /sbin/ipfw add 1001 divert natd all from 192.168.2.1 to any via de0 >> /sbin/ipfw add 1002 divert natd all from any to 192.168.2.1 via de0 > >=09I guess that incoming packets will not match this line, since >=09they are not coming to 192.168.2.1 but to the address of de0. >=09So you'll need something like 'divert natd all from any to any via de0 >in' >=09and something else to do accounting for incoming packets. > > >=09=09Ari S. > Thanks, I have experimented further and may have something, do you know of a person whom I could contact so that my endeavors could be reshaped into something everyone could use. Thanks, Keith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?370b4576.1870.0>