ipchains question
Antti.Roppola at brs.gov.au
Antti.Roppola at brs.gov.au
Tue Nov 6 10:43:43 EST 2001
Hello all,
I am putting together some accounting for my ADSL connection
and would like advice to make sure my rulesets are working as I
intend them to work.
In my firewall script:
# Create an accounting chain to count traffic over ppp0
$IPCHAINS -N log-ppp
$IPCHAINS -A log-ppp -i ppp0
# Set the first rule in the input chain to detect anything going
# over ppp0 (Internet) and flick it to the accounting chain
$IPCHAINS -A input -i ppp0 -j log-all
Do I need to grab anything else? Or will this catch everything going
in/out over the PPP connection?
TIA,
Antti
More information about the linux
mailing list