Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2000 12:53:51 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Artem Koutchine <matrix@ipform.ru>
Cc:        Jan Knepper <jan@smartsoft.cc>, questions@FreeBSD.ORG
Subject:   Re: NAT trafic accounting
Message-ID:  <20001001125351.I25121@149.211.6.64.reflexcom.com>
In-Reply-To: <001601c02bcf$aa413a40$0c00a8c0@ipform.ru>; from matrix@ipform.ru on Sun, Oct 01, 2000 at 09:47:12PM %2B0400
References:  <024d01c02b1a$bce2d420$0c00a8c0@ipform.ru> <39D77148.98C1CB9C@smartsoft.cc> <001601c02bcf$aa413a40$0c00a8c0@ipform.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 01, 2000 at 09:47:12PM +0400, Artem Koutchine wrote:
> From: "Jan Knepper" <jan@smartsoft.cc>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001001125351.I25121>