iptables ssh block NIC4
I want to stop incoming ssh to NIC4 (i.e. eth3) and allow it any other interface.
How can I do this?
I am using following rule
-A INPUT -s 0/0 -i eth3 -p tcp --sport 1024:65535 --dport 22 -j DROP
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
But unfortunately its not working.
Where I am wrong?