cancer10

Well-Known Member
Aug 27, 2006
60
0
156
India
How do I ban an IP permanently.

IPtables does not ban permanently, it removes the IP after the server reboots.




Thanx
 

mitul

Well-Known Member
Feb 8, 2003
291
0
166
All the rules for IPTABLES are saved in /etc/sysconfig/iptables file. If you are using apf configuration file resides under /etc/apf.

Regards,
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
IPtables does not ban permanently, it removes the IP after the server reboots.
Actually IPTABLES does ban permanently!

Sounds like you haven't setup an /etc/sysconfig/iptables file

Without that file, your iptable settings are only stored in memory alone