//add rule sudo iptables -A OUTPUT -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT //check rules sudo iptables -S