• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Linux] Some Usefull Iptables

Ekt

New Member
Joined
Sep 11, 2011
Messages
58
Reaction score
0
Location
127.0.0.1
Here I leave some IPTABLES can be usefull for Some DDOS and blocking some floods.
NOTE: Use this IPtables one by one.
Code:
iptables -N syn-flood
iptables -A syn-flood -m limit --limit 10/second --limit-burst 50 -j RETURN
iptables -A syn-flood -j LOG --log-prefix "SYN flood: "
iptables -A syn-flood -j DROP
iptables -A INPUT -f -j DROP
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
iptables -A INPUT -p tcp --tcp-flags ALL ALL -j DROP
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP
iptables -A syn-flood -m recent --name blacklist --set -j DROP
Please leave a comment
 
Last edited:
Back
Top