Skip to content

Iptables

Count packets sent and received

iptables -Z && iptables -F
iptables -I INPUT 1 -s IP -j ACCEPT
iptables -I OUTOUT 1 -d IP -j ACCEPT
ip tables -vn -L