how to drop ip

Issues related to configuring your network
Post Reply
Posts: 5
Joined: 2007/07/24 22:51:26

how to drop ip

Post by xlenonz » 2010/08/19 22:29:18


i use many ips for game servers.

some time i get ddos attack to specific ip adress.

i can change ip to other server with that command

arping -U -I eth0 ip address

but i want, drop that ip.not change to other server.

i do ifconfig eth0:340 ipadddress netmask drop

but it will drop like hours.


Posts: 2625
Joined: 2007/01/07 02:18:02
Location: Central IL USA

how to drop ip

Post by pjwelsh » 2010/08/20 13:49:07

as root, [code]iptables -I INPUT -s BAD_IP_ADD -j DROP[/code]

Post Reply

Return to “CentOS 4 - Networking Support”