Advertisement
savsanta

SSHD-BruteForce-Iptables.rules

Aug 4th, 2018
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.48 KB | None | 0 0
  1. # Generated by iptables-save v1.4.21 on Sat Aug  4 14:26:46 2018
  2. *filter
  3. :INPUT ACCEPT [1090:176858]
  4. :FORWARD ACCEPT [0:0]
  5. :OUTPUT ACCEPT [1230:143674]
  6. -A INPUT -i eth0 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --update --seconds 360 --hitcount 4 --name DEFAULT --mask 255.255.255.255 --rsource -j DROP
  7. -A INPUT -i eth0 -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --mask 255.255.255.255 --rsource
  8. COMMIT
  9. # Completed on Sat Aug  4 14:26:46 2018
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement