From owner-freebsd-questions Sat Sep 30 13:12:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id DA80737B502 for ; Sat, 30 Sep 2000 13:12:21 -0700 (PDT) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.0/8.11.0) with SMTP id e8UKCJR99556 for ; Sun, 1 Oct 2000 00:12:20 +0400 (MSD) (envelope-from matrix@ipform.ru) Message-ID: <024d01c02b1a$bce2d420$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: Subject: NAT trafic accounting Date: Sun, 1 Oct 2000 00:12:17 +0400 Organization: IP Form MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I have the following configuration: Interfaces: ed0 - NAT interface (192.168.0.1) and ed1 - real ip interface (212.34.47.x) Natd is working fine and all machine on 192.168.0 network can access internet. What i want to do i to count their internet trafic, that is, only the trafic which is passed via natd and then ouotgoin to ed1 or incoming from ed1 and going to someone one 192.168.0 via nat. Natd log does not report what i need and I could not find any info on how to setup its log. I also could not figure out what ipfw rules could do the job. Please, help! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message