Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member konrath's Avatar
    Join Date
    May 2005
    Location
    Brasil
    Posts
    312

    Default How to restrict ftp access to certain ips? (Host Access Control) is not working. Bug?

    Hello

    (Host Access Control) is not working for the FTP. Bug?

    How to restrict ftp access to certain ips?

    Thank you
    Konrath

  2. #2
    Member
    Join Date
    Apr 2006
    Posts
    25

    Default

    Quote Originally Posted by konrath View Post
    Hello

    (Host Access Control) is not working for the FTP. Bug?

    How to restrict ftp access to certain ips?

    Thank you
    Konrath
    Use firewall rules. reject all but your IP

  3. #3
    Member
    Join Date
    Apr 2006
    Posts
    25

    Default restrict FTP to IP

    Here found this. Might help ya

    Iptables open ftp port 21

  4. #4
    Member konrath's Avatar
    Join Date
    May 2005
    Location
    Brasil
    Posts
    312

    Default

    Thank you but, I try to maintain access to FTP only for my region ( country ) and not only for my IP.

    I tried to use the (Host Access Control in Security Center) to ProFTPD without success. Any suggestions? How to ?

    i.e. ( my config in Host Access Control )

    ftp 201.1.1.1/201.255.255.255 allow
    ftp All deny

    Many sites are being hacked by ftp. The IPs that connect to ftp are not of my region. I want to block these IPs are not of my region.

    Thank you
    Konrath
    Last edited by konrath; 06-23-2009 at 10:32 AM.

  5. #5
    Member
    Join Date
    Apr 2006
    Posts
    25

    Default

    then why not block the country ips all together?

  6. #6
    Member
    Join Date
    Apr 2006
    Posts
    25

    Default

    Linux Iptables Just Block By Country

    another resource for you...

  7. #7
    Member konrath's Avatar
    Join Date
    May 2005
    Location
    Brasil
    Posts
    312

    Default

    Quote Originally Posted by fineline View Post
    then why not block the country ips all together?
    Hello

    I do not understand you.

    Thank you
    Konrath

  8. #8
    Member konrath's Avatar
    Join Date
    May 2005
    Location
    Brasil
    Posts
    312

    Default

    Quote Originally Posted by fineline View Post
    Linux Iptables Just Block By Country

    another resource for you...

    Thank you fineline, but I try to use the Host Access Control to block. ( I will read your suggestion. Linux Iptables Just Block By Country )

    i.e. ( my config in Host Access Control )

    ftp 201.1.1.1/201.255.255.255 allow
    ftp All deny


    The server has the PROFTPD but Host Access Control not working. How to?

    Thank you
    Konrath
    Last edited by konrath; 06-23-2009 at 10:56 AM.

  9. #9
    Member
    Join Date
    Apr 2006
    Posts
    25

    Default

    Not sure how you can do it with host access control. But that link i posted shows you how to ban Those IP ranges of countries.

    Example. If china has been exploiting your server and you want to ban all of china then use the info from that link. It will show you how to ban all of china.

Similar Threads & Tags
Similar threads

  1. Host access control not working
    By bmcgoo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-14-2011, 08:35 AM
  2. cphulk and host access control stopped working after upgrade?
    By kjg in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 01-06-2009, 12:05 PM
  3. Host Access Control not working
    By bls24 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-07-2008, 08:58 AM
  4. Host Access Control (block IP access)
    By meeti in forum New User Questions
    Replies: 5
    Last Post: 05-13-2008, 01:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube