One of my server which have cpanel some rules of iptables is not working.
For example, when I use
Code:
- iptables -N syn_flood
- iptables -A INPUT -p tcp --syn -j syn_flood
- iptables -A syn_flood -m limit --limit 1/m --limit-burst 4 -j RETURN
- iptables -A syn_flood -j DROP
and I try to test, it do not show any good results, but when I try to use in a server which do not have cpanel this function works fine.
I have searched a bit and I found a old topic that the guy practically is having the same problem as me but he do not found a fix https://forums.cpanel.net/f5/my-server-under-syn-botnet-how-can-i-prevent-attack-147781.html
How do i solve this problem?
For example, when I use
Code:
- iptables -N syn_flood
- iptables -A INPUT -p tcp --syn -j syn_flood
- iptables -A syn_flood -m limit --limit 1/m --limit-burst 4 -j RETURN
- iptables -A syn_flood -j DROP
and I try to test, it do not show any good results, but when I try to use in a server which do not have cpanel this function works fine.
I have searched a bit and I found a old topic that the guy practically is having the same problem as me but he do not found a fix https://forums.cpanel.net/f5/my-server-under-syn-botnet-how-can-i-prevent-attack-147781.html
How do i solve this problem?