I wanted to ask how to test IP Table Rules. For example, I have a port number and I want to be sure that it accepts all packets. How can I do it?
After I type
iptables -L I see that the rule has been added but I need a practical proof.
Is there a way how I can do it?
I can't find online any resource about how to do that rather then to check the existence of the IP Table rule.
The rule which I wanted to test is:
sudo iptables –A INPUT –i eth0 –j ACCEPT