Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2007
    Posts
    12

    Default How Can I Delete All Deny Ip From APF

    Hello. i looked /etc/apf/deny_host.rules and i saw a lot of deny ip adresses. i want to delete these ip adresses from deny ip adresses. i can do it apf -u 123.123.123.123 manually but i want to remove all of them. How can i do it?

  2. #2
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by HostAnadolu View Post
    Hello. i looked /etc/apf/deny_host.rules and i saw a lot of deny ip adresses. i want to delete these ip adresses from deny ip adresses. i can do it apf -u 123.123.123.123 manually but i want to remove all of them. How can i do it?
    just remove them from the file and then restart apf
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  3. #3
    Member
    Join Date
    Feb 2007
    Posts
    12

    Default

    i tried it but i didn't congrulate. Do you know any other way ?

  4. #4
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Delete or comment out the lines in apf.deny as described by the previous user, then restart apf with "apf -r".

    I don't think any other way works. Of course, you could replace APF with the more recent CSF which has a WHM user interface which might be easier for you.

    (What does "congrulate" mean??)
    Last edited by brianoz; 04-29-2007 at 07:53 PM.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    You need a firewall, I would install csf I believe there is a tool to remove old firewalls automatically.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    csf will also rotate old IP's off old IP's based on the total number of IP's in the deny file for you.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 02-14-2011, 04:12 AM
  2. CSf Firewall: Edit csf.deny, the IP address deny file (Currently:1000 permanent IP b
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-09-2010, 06:23 AM
  3. IP Deny Manager: Delete should delete recursively
    By PaiaGirl in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-23-2009, 06:31 PM
  4. Deny Permission to delete/edit files like .htaccess?
    By BG06 in forum New User Questions
    Replies: 11
    Last Post: 11-14-2006, 10:25 AM
  5. deny ip on server via apf
    By chadi in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-10-2004, 05:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube