redem
9th April 2008, 16:22
Hi all...
how i block the various ssh brute force attacks with iptables?
Currently i'm using these rules:
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -m limit --limit 1/min --limit-burst 3 -j *CORRECT* DROP
But these don't work :confused: ...
Thanks
EDIT:
I have edited a rule, waiting for response :)
how i block the various ssh brute force attacks with iptables?
Currently i'm using these rules:
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -m limit --limit 1/min --limit-burst 3 -j *CORRECT* DROP
But these don't work :confused: ...
Thanks
EDIT:
I have edited a rule, waiting for response :)