Attack from Japan

Posted: February 10, 2011 in Debian

My server have been attck from Japan for the last 4 days till now..

they get ftp access to my server. I have block them using this iptables.

Block all

root@web:~# iptables -A INPUT -p tcp –dport 21 -j DROP

Block Certain IP

root@web:~# iptables -I INPUT -p tcp -s 111.119.167.0/24 –dport 21 -j DROP

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s