Advertisement
Guest User

Untitled

a guest
Jul 31st, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1.  
  2. # Защита от SYN-флуда
  3. iptables -A INPUT -p tcp --syn -m limit --limit 10/s --limit-burst 50 -j ACCEPT
  4. iptables -A INPUT -p udp -m limit --limit 10/s --limit-burst 50 -j ACCEPT
  5. iptables -A INPUT -p icmp -m limit --limit 10/s --limit-burst 50 -j ACCEPT
  6. iptables -A INPUT -j DRO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement