iptables : how to correctly allow incoming and outgoing traffic for certain ports?
- by Rubytastic
Im trying to get incoming and outgoing traffic to be enabled on specific ports, because I block everything at the end of the iptables rules. INPUT and FORWARD reject.
What would be the appropiate way to open certain ports for all traffic incoming and outgoing?
From docs I found below but one has to really define both lines?
iptables -A INPUT -i…