The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

APF blocks my IP too ?!

Discussion in 'General Discussion' started by organik81, May 26, 2007.

  1. organik81

    organik81 Registered

    Joined:
    Sep 2, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello ;

    APF (on my server) often blocks me and some other browsers but I don't want it to do this. Let me give the last one log below ;

    Code:
    May 26 09:38:01 linux apf(9884): (insert) deny all to/from 85.101.x.x (my ip)
    
    After 20 minutes automaticly deleting the block.
    
    May 26 09:58:02 linux apf(11064): {delete} deny all to/from 85.101.x.x
    
    What sholud I do ? Thanks..
     
  2. Ankushforyou

    Ankushforyou Member

    Joined:
    Apr 16, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hello ,

    You can your IP address to /etc/allow_hosts.rules , so that it cannot be blocked .

    You can simply do that by , just enter following command :

    apf -a yourIPaddress ....
    service apf restart

    That's it !

    AnkY
     
  3. organik81

    organik81 Registered

    Joined:
    Sep 2, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for reply. I can do that (so i did) ; but it does the same action for other people (browsers who wieving sites in the server). And it can't be added all of IP ranges to allow them. I want to know if there any other way.. Thanks..
     

Share This Page