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.

FTP limit acces via IP

Discussion in 'General Discussion' started by mealto, Sep 27, 2009.

  1. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Server management company said that the default cpanel setup of pure-ftpd does not allow us to limit FTP access via IP. Is there a way to accomplish this in the normal WHM/cpanel setup? What can we do to only let specified IP addresses to FTP to the server?
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    FTP limit access via IP

    Hello,

    I do see what you are trying to do, and it looks as though the only solid way of doing this would be to setup a firewall rule. I hope this helps. Please let me know if you have any other questions.

    Thank you,
    Matthew Curry
     
    #2 MattCurry, Sep 28, 2009
    Last edited: Sep 28, 2009
  3. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Agreed. A local firewall can do this very easily.
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Agreed on Firewall ....

    Globally reject connections to the FTP server port (21) and then open it back up for those IPs that you would like to have FTP access.
     
  5. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    414
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Proftp allows the use of .ftpaccess files to limit access which can be very handy for setting limit on one site but not others:

    .ftpaccess files
     
Loading...

Share This Page