Quote:
Originally Posted by fan0o
This rule is working:
-A INPUT -p tcp -m tcp --dport 8989 -j ACCEPT
but this is not working:
-A INPUT -s X.X.X.X/32 -p tcp -m tcp --dport 8989 -j ACCEPT
|
Are those two alternatives being placed at the same point in the INPUT chain? Iptables chains are evaluated in order, and the first matching rule with a terminating action (ACCEPT, REJECT, DROP) determines its fate.