1

Custom iptables Rules for sshd and FirewallD

view story
linux-howto

http://forums.fedoraforum.org – Hi, All. I've recently upgraded to F19 from F16 and now am trying to figure out how I can migrate some custom iptables rules to the new system that uses firewalld. To protect my system against bruteforce password cracks, I've been using the following rules: Code: -N LOGDROP -A LOGDROP -j LOG -A LOGDROP -j DROP -N SSH_CHECK -A INPUT -p tcp --dport 22 -m state --state NEW -j SSH_CHECK -A SSH_CHECK -m recent --set --name SSH -A SSH_CHECK -m recent --update --seconds 300 --hitcount 4 --name SSH -j LOGDROP -A SSH_CHECK -j ACCEPT Just using the FirewallD GUi, I can't figure out ho (HowTos)