Displaying 1 result from an estimated 1 matches for "zorbcountout".
2003 Sep 10
1
Ip traffic accounting and HTB
...et and
eth1 to the clients(I''m shaping both ifaces). I want to log ip traffic
from and to the clients. Since htb shapes outgoing traffic I''m not sure
how to make the iptables script.
This is the script:
${IPTABLES} -N ZORBCOUNTIN
${IPTABLES} -A ZORBCOUNTIN
${IPTABLES} -N ZORBCOUNTOUT
${IPTABLES} -A ZORBCOUNTOUT
${IPTABLES} -I INPUT -i $IFACE -j ZORBCOUNTIN
${IPTABLES} -I OUTPUT -o $IFACE -j ZORBCOUNTOUT
${IPTABLES} -N ZORBCOUNT
${IPTABLES} -I FORWARD -s $NET -o $IFACE -j ZORBCOUNT
${IPTABLES} -I FORWARD -d $NET -i $IFACE -j ZORBCOUNT
grep "^&q...