Hello

I Would like limit Iptables login attemps to 5 per hour since that I never login from 
out ,but this donīt do 
nothing, anyone knows how can I do this?

# Limit everyone to 5 connections ax per hour 
$IPTABLES -N sshlimit
$IPTABLES -A sshlimit -p tcp --dport 22 -m state --state ESTABLISHED  -j ACCEPT
$IPTABLES -A sshlimit -p tcp --dport 22 -m limit --limit 5/hour --limit-burst 6  -j 
ACCEPT
$IPTABLES -A sshlimit -p tcp --dport 22 -j REJECT --reject-with tcp-reset
        
Thanks
Josep



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to