Results 1 to 2 of 2
-
07-29-2002, 06:15 PM #1WHT Addict
- Join Date
- Feb 2002
- Location
- Canada
- Posts
- 159
[newbie question\ How to ban IPs on cpanel / whm?
OK,
I'm a total unix/hosting idiot, and don't have a clue as to how to ban an IP with cpanel, whm, or unix itself...
could someone give me the step-by-step idiot's guide to doing this?
-
07-29-2002, 06:34 PM #2Web Hosting Master
- Join Date
- Mar 2002
- Location
- Mass
- Posts
- 727
This is a simple script with no error checking.
#!/bin/sh
# quick bash script to blackhole a route
/sbin/route add -host $1 reject
echo "$1 blocked"Jason