iptables not blocking ssh attempts
Logcheck keeps warning me about ssh unauthorised connection attempts from a particular IP address, so, to cut down the noise, I put in an iptables rule to block it.
Thanks for any help.
The DROP is after the
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
so the accept rule applies first and the Drop never gets applied
yes You really need to insert the before the accept and you need to edit the iptables file so that it is permenant
for example I think this is closer to what you want
[CODE]# iptables -s iptables -I INPUT 1 -s 184.108.40.206 -j DROP
|All times are GMT -5. The time now is 02:03 AM.|