All pastes #525701 Raw Edit

Mine

public text v1 · immutable
#525701 ·published 2007-05-31 13:57 UTC
rendered paste body
sudo iptables -A INPUT -p ALL -j REJECT
sudo iptables -A INPUT -p tcp --destination-port 22 -j ACCEPT
sudo iptables -A OUTPUT -p ALL -j REJECT
sudo iptables -A OUTPUT -p tcp --destination-port 22 -m state --state ESTABLISHED,RELATED -j ACCEPT