Displaying 1 result from an estimated 1 matches for "zorbcount".
Did you mean:
wordcount
2003 Sep 10
1
Ip traffic accounting and HTB
...t the traffic. My config is the following: eth0 goes to internet 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...