Block ddos ip ? iptables dont works ?

Status
Not open for further replies.

devNULL

Banned
Banned
198
2010
34
0
[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.
Back
Top