Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    89

    Default IP Block

    Where is the best place to block Ip's

    cPanel.net Support Ticket Number:

  2. #2
    Member Nico's Avatar
    Join Date
    Dec 2001
    Location
    Edmond, OK
    Posts
    233

    Default

    I like doing from SSH as 'root'.

    Example:

    /sbin/route add -host 209.217.1.2 gw 127.0.0.1

    replace '209.217.1.2' with the IP you want to block.

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    89

    Default

    I would like to block a list of ip's

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    May 2003
    Posts
    25

    Default

    Will this also work if you have a domain that steals image bandwidth from you and you get the ip of their server and add it? I don't want to use hotlink protection...

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Feb 2002
    Location
    UK
    Posts
    461

    Default

    If you wish to just block IPs using http then use a .htaccess with something like:

    Order deny,allow
    Allow from all
    Deny from xxx.xxx.xxx.xxx

    cPanel.net Support Ticket Number:
    Apache to die or not to die, that is the question...

  6. #6
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    Originally posted by Clark
    Will this also work if you have a domain that steals image bandwidth from you and you get the ip of their server and add it? I don't want to use hotlink protection...
    No, because it's the users of the other domain who access your files directly.

    cPanel.net Support Ticket Number:

  7. #7
    Member
    Join Date
    Feb 2002
    Location
    UK
    Posts
    461

    Default

    It would be best to use hotlink protection unless you want 2 block out the whole internet

    cPanel.net Support Ticket Number:
    Apache to die or not to die, that is the question...

  8. #8
    Member
    Join Date
    Mar 2003
    Posts
    89

    Default

    I used a hotlink and forwarde them to a another address

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. How to block an IP
    By varshann2006 in forum New User Questions
    Replies: 3
    Last Post: 02-26-2009, 08:58 AM
  2. block IP
    By danielldf in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 07-30-2006, 06:47 AM
  3. Block IP
    By shimmy in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-13-2005, 09:18 AM
  4. a way to block a certain IP
    By netvistun in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-11-2005, 07:57 AM
  5. Block IP
    By allenhui in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-11-2004, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube