Answers for "how to add comments to iptables rules?"

0

how to add comments to iptables rules?

# Using the module comment
sudo iptables -A INPUT -p tcp --dport 22 -m comment --comment "allow ssh"
Posted by: Guest on October-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language