Untitled
public text v1 · immutablesudo iptables -A INPUT -p tcp --destination-port 5566 -j ACCEPT
sudo iptables -A INPUT -p ALL -j REJECT
sudo iptables -A OUTPUT -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A OUTPUT -p ALL -j REJECT