Originally posted by Jemshi
use iptables like this.
iptables -A INPUT -s xxx.xxx.xxx.0/24 -j DROP
this will block all IPs in the range
xxx.xxx.xxx.0 - xxx.xxx.xxx.255
/16 means the last two sections.
/0 is full 
remember to save using iptables-save or
/etc/rc.d/init.d/iptables save.
cPanel.net Support Ticket Number:
Thanks
can i go through what i think i should do to block ip addresses from spammers: mail.outstandingvalues.com and mail.meta-deals.com
63.212.169.92
63.212.169.94
63.212.169.90
63.212.169.91
63.212.169.93
63.212.169.85
63.212.169.86
63.212.169.89
63.212.169.88
63.212.169.87
63.212.169.82
63.212.169.81
63.212.169.84
63.212.169.80
63.212.169.83
63.212.169.68
63.212.169.72
63.212.169.73
63.212.169.70
63.212.169.71
63.212.169.69
63.212.169.75
63.212.169.78
63.212.169.79
63.212.169.77
63.212.169.74
63.212.169.76
63.212.169.110
63.212.169.107
63.212.169.108
63.212.169.109
63.212.169.106
63.212.169.112
63.212.169.111
63.212.169.114
63.212.169.115
63.212.169.113
63.212.169.117
63.212.169.119
63.212.169.120
63.212.169.118
63.212.169.116
63.212.169.121
63.212.169.122
63.212.169.123
63.212.169.125
63.212.169.126
63.212.169.124
63.212.169.103
63.212.169.100
63.212.169.102
63.212.169.105
63.212.169.101
63.212.169.104
is this correct
log in as root
type in, iptables -A INPUT -s 63.212.169.0/24 -j DROP
return
then type in, 63.212.169.0 - 63.212.169.255
return
then type in, /etc/rc.d/init.d/iptables save.
return
Is this correct?
Thanks
Ivaserver
cPanel.net Support Ticket Number: