From owner-freebsd-net Wed Apr 7 4:47: 9 1999 Delivered-To: freebsd-net@freebsd.org Received: from grafica.co.nz (prometheus.grafica.co.nz [203.96.151.13]) by hub.freebsd.org (Postfix) with ESMTP id 9866014C8C for ; Wed, 7 Apr 1999 04:47:05 -0700 (PDT) (envelope-from keith@grafica.co.nz) Received: from grafica.co.nz (prometheus.grafica.co.nz [192.168.2.42]) by grafica.co.nz (8.9.3/8.9.3) with SMTP id XAA06259; Wed, 7 Apr 1999 23:45:51 +1200 (NZST) From: "Keith Newton" Reply-To: keith@grafica.co.nz To: ari Cc: freebsd-net@FreeBSD.ORG Date: Wed, 7 Apr 1999 23:45:58 -1200 Subject: Re: IP accounting and NATD X-Mailer: DMailWeb Web to Mail Gateway 2.0p, http://netwinsite.com/top_mail.htm Message-id: <370b4576.1870.0@grafica.co.nz> X-User-Info: 202.36.204.137 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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