Skip to content
WJunction - Webmaster Forum

Block ddos ip ? iptables dont works ?

Status
Not open for further replies.
[SOLVED MYSELF] Block ddos ip ? iptables dont works ?

I hav already do this

ssh

iptables -A INPUT -s 208.76.50.76 -j DROP

then saved it

but when i do in ssh

netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

i still see

62 208.76.50.76

//reeboted server and its gone :D
 
Last edited:

1 comment

Always restart iptables after adding any rule. Not reboot required.

command: service iptables restart

Just add this post for others helps who don't want to reboot.
 
Status
Not open for further replies.

About the author

D
Banned · Joined
198
Messages
34
Reactions
28
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom