Em 15-04-2014 11:27, lilit-aibolit escreveu:
> Hello misc.
> Please provide any hints how to get amount of
> Internet traffic per each IP in LAN for period of
> time month.
>
> Suppose I have such simple rules to share Internet connection
> for <lan>:
>
> table <lan>  { 192.168.5.0/24 }
> match out on $ext_if inet proto tcp from <lan> to any nat-to em1
> pass in on $int_if inet proto tcp from <lan> to any port
> pass out on $ext_if inet proto tcp from em1 to any
>
> I'd like to know how many traffic does specific IPs from <lan> consumed.
>
I use the mentioned solution using pflow + nfsen. But, if you want to
have accounting for billing purposes, I suggest you use a more robust
method, using radius. I've also recently took a look at the captive
portal solutions, some have integration with radius or have internal
accounting.

Cheers,

-- 
Giancarlo Razzolini
GPG: 4096R/77B981BC

Reply via email to