Guides Iptables 1.1: Drop All connections (change policy to drop) should work as a white list: # iptables -P INPUT DROP # iptables -P OUTPUT DROP # iptables -P FORWARD DROP Read more »