Will iptables figure out and tell us if there are rules while configuring the firewall like this: 1) "allow all the ports on the machine"
2) block port 50 - will it show that all the ports are allowed even though we block port 50 (As the generic rule precedes the specific port 50 rule) ?
and in the other case - 1) allow port 50
[8:53 PM] 2) block all the ports
in this case will it say that port 50 is allowed and all the other ports are blocked ?
I just wanted to know if iptables output is robust and has some logic to find out the firewall rules that I mentioned above are handled or not..