Answers for "ubuntu iptables open ssh output port"

1

ubuntu iptables open ssh output port

//add rule
sudo iptables -A OUTPUT -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT
//check rules
sudo iptables -S
Posted by: Guest on September-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language