iptables attack blocking

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
MC12
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Aug 24, 2015 3:12 pm

iptables attack blocking

Post by MC12 »

Hi, not sure if iptables don't work or I am doing some thing wrong when I block an length of attack from firewall tap it work fine but when I try to block the same length from iptables It don't work the command I have used.
iptables -I INPUT -p udp -m length --length 62 -j DROP
same thing with hex string when I block from firewall it work but from iptables it won't
any advice ?

thanks
User avatar
Edge100x
Founder
Founder
Posts: 13154
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: iptables attack blocking

Post by Edge100x »

How are you testing whether it works? Are you looking at the "iptables -nvL" output?
MC12
New to forums
New to forums
Posts: 2
Joined: Mon Aug 24, 2015 3:12 pm

Re: iptables attack blocking

Post by MC12 »

Edge100x wrote:How are you testing whether it works? Are you looking at the "iptables -nvL" output?
When the attack is I tried to make rule to block that length From firewall tab after that the attack packets got dropped and fine , then I tried to delete that rule and block it from Iptables the same attack won't block till I block it from firewall tab..
Post Reply