View Single Post
  #1  
Old 10th March 2013, 09:03
Eleven Cool Eleven Cool is offline
HowtoForge Supporter
 
Join Date: Jul 2012
Location: Orange County, CA, USA
Posts: 38
Thanks: 13
Thanked 1 Time in 1 Post
Question How Do I Block An IP With ISPConfig And Have It Persist After Reboot?

I have several IP's that are clearly up to no good that I want to block.

I found a HowtoForge post on how to use "route" to block an IP.

Code:
route add -host xxx.xxx.xxx.xxx reject
When the server reboots, all of the IPs that I've added to the blacklist are now gone.

How can I keep these IPs from being erased at reboot? Do I need to enter them through ISPConfig somehow?
__________________
Da Vinci

Last edited by Eleven Cool; 10th March 2013 at 11:10.
Reply With Quote
Sponsored Links