From owner-freebsd-questions Sun Oct 1 12:58:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 0B89337B503 for ; Sun, 1 Oct 2000 12:58:09 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 1 Oct 2000 12:52:40 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e91Jrqj56803; Sun, 1 Oct 2000 12:53:52 -0700 (PDT) (envelope-from cjc) Date: Sun, 1 Oct 2000 12:53:51 -0700 From: "Crist J . Clark" To: Artem Koutchine Cc: Jan Knepper , questions@FreeBSD.ORG Subject: Re: NAT trafic accounting Message-ID: <20001001125351.I25121@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <024d01c02b1a$bce2d420$0c00a8c0@ipform.ru> <39D77148.98C1CB9C@smartsoft.cc> <001601c02bcf$aa413a40$0c00a8c0@ipform.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <001601c02bcf$aa413a40$0c00a8c0@ipform.ru>; from matrix@ipform.ru on Sun, Oct 01, 2000 at 09:47:12PM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 01, 2000 at 09:47:12PM +0400, Artem Koutchine wrote: > From: "Jan Knepper" > > Artem Koutchine wrote: > > > > > I have the following configuration: > > > Interfaces: ed0 - NAT interface (192.168.0.1) and ed1 - real ip > interface > > > (212.34.47.x) > > > > Hmmm, I thought that natd was supposed to run on ed1, the interface with > IP > > 212.34.47.x in your case... > > Um.. I am really sorry, my mistake. I mixed everything up > . > ed0 - 212.34.47.x > ed1 - 192.168.0.1 > > nat is on ed0 > > people from 192.168.0.x browse internet and also access database on the > 192.167.0.1, ^ Typo, right? > i need to count only internet traffic for each of the users (there are only > 5 of them, static > IPs, of course, on the local network, win98 workstations) > > ANy idea how can i trafic that nat trafic? How to 'trafic' the NAT 'trafic?' Huh? Are you asking how to count again? I still don't see why, # ipfw add 100x count ip from 192.168.0.x to not 192.168.0.0/24 # ipfw add 101x count ip from not 192.168.0.0/24 to 192.168.0.x Wouldn't work. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message