I have a question about how to test the firewall rules. To be more specific, for academic purpose I have to set up a machine which will accept all kind of packets o a specific interface.
I added an IP Table rule:
sudo iptables –A INPUT –i eth0 –j ACCEPT
I need a practical prove that this interface accept all kind of packets. Does anyone know a specific way or tool which can help me. I can't find anything better than
nmap -p 80 <ipAddress>
or
nmap - sU <ipAddress>
Or maybe somebody can propose a better solution to prove that the interface accepts all kind of packets.