Date: Wed, 07 Apr 1999 11:19:57 +0300 From: ari <ari@suutari.iki.fi> To: Keith Newton <keith@grafica.co.nz> Cc: freebsd-net@FreeBSD.ORG Subject: Re: IP accounting and NATD Message-ID: <370B152D.ACEF8847@suutari.iki.fi> References: <370AAB14.D93409F2@grafica.co.nz>
next in thread | previous 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 I guess that incoming packets will not match this line, since they are not coming to 192.168.2.1 but to the address of de0. So you'll need something like 'divert natd all from any to any via de0 in' and something else to do accounting for incoming packets. Ari S. 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?370B152D.ACEF8847>