Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gnu_linux:iptables:traffic_control [2012/03/21 14:34] – kolan | gnu_linux:iptables:traffic_control [2012/05/26 13:00] (current) – kolan | ||
---|---|---|---|
Line 25: | Line 25: | ||
iptables -t mangle -A IN-INTERNET -s 0/0 | iptables -t mangle -A IN-INTERNET -s 0/0 | ||
iptables -t mangle -A OUT-INTERNET -d 0/ | iptables -t mangle -A OUT-INTERNET -d 0/ | ||
+ | |||
+ | <code bash | Monitor> | ||
+ | sudo iptables -t mangle -L OUT-INTERNET -v | tail -n1 | sed 's~ *[^ ]\+ *\([^ ]\+\).*~\1~'</ | ||
+ |