Hey guys i am very new to iptables and was just wondering what the following commands do and what type of attacks they would prevent.
Am I correct in assuming the first command allows traffic from port 80?
I am a bit confused so any help would be great thanks.
iptables -I FORWARD 1 -p tcp -dport 80 -j ACCEPT
iptables -I FORWARD 2 -p tcp -sport 80 -j ACCEPT
