Javier Martínez wrote:
With this example can i count the ppp0 traffic for 192.168.1.100?acc1-out:COUNT account-ip - ppp0:192.168.1.100 acc1-in:COUNT account-ip ppp0:192.168.1.100 - DONE acc1
By themselves, those rules won't do anything. What do you mean by 'traffic for 192.168.1.100'? Is 192.168.1.100 on the local end of the tunnel or on the remote end?
If it is on the remote end, then these rules will count traffic: COUNT - ppp0:192.168.1.100 - COUNT - - ppp0:192.168.1.100 If you want to count that traffic in a chain named 'acc1' then: acc1:COUNT - ppp0:192.168.1.100 - acc1:COUNT - - PPP0:192.168.1.100 done acc1 -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
