i want to know what is the difference between these two commands
iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Nothing, since the tcp match is implicit when filtering the tcp protocol.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
5 years ago