Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!bin/sh
- #Menghapus semua Rule
- iptables -F
- iptables -X
- iptables -P INPUT ACCEPT
- iptables -P OUTPUT ACCEPT
- iptables -P FORWARD ACCEPT
- #blok paket syn yang dicurigai jahat
- iptables -N synjahat
- iptables -A INPUT -p tcp --syn -j synjahat
- iptables -A synjahat -m limit --limit 1/s --limit-burst 3 -j ACCEPT
- iptables -A synjahat -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement