![]() |
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 rejectHow can I keep these IPs from being erased at reboot? Do I need to enter them through ISPConfig somehow? |
either you save all the ips in a text file like this
route add -host xxx.xxx.xxx.xxx reject route add -host xxx.xxx.xxx.xxx reject route add -host xxx.xxx.xxx.xxx reject and copy paste in terminal on reboot. or better still use fail2ban to automatically ban the offending IPs automatically. |
| All times are GMT +2. The time now is 06:37. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.