# This will flush your existing rules
iptables -F INPUT
iptables -F OUTPUT
iptables -F REJECT_FLOOD28
iptables -F REJECT_FLOOD46
# This will protect against normal DoS attacks.
iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --set --name DEFAULT --mask 255.255.255.255 --rsource
iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --update --seconds 20 --hitcount 20 --name DEFAULT --mask 255.255.255.255 --rsource -j DROP
sm plugins list
sm exts list
Server is still getting DDOS like usual even after using this .. any other fix ?All this is useless.
Clear all the rules and just use below rules :
Bash:# This will flush your existing rules iptables -F INPUT iptables -F OUTPUT iptables -F REJECT_FLOOD28 iptables -F REJECT_FLOOD46
Note: iptables can never stop a large scale DDoS attacks. You should not add anything from internet if you don't know what it will do.Bash:# This will protect against normal DoS attacks. iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --set --name DEFAULT --mask 255.255.255.255 --rsource iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --update --seconds 20 --hitcount 20 --name DEFAULT --mask 255.255.255.255 --rsource -j DROP
daf_status
to check the attacker IP. And it doesn't show IP address of all kind of attackers.We get it, advertisements are annoying!
Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.