Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED FTP - host access control issue.

Discussion in 'General Discussion' started by Samet Chan, Jul 3, 2018.

  1. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    319
    Likes Received:
    29
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I changed pure-FTPD to proFTPD and doesn't work firewall allow IP on host access control.

    ALL EXCEPT 127.0.0.1 deny.

    Save & exit, I connect to FTP was connected. It is doesn't work.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,813
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Can you provide us with the output of the below commands:
    # cat /etc/hosts.allow
    # cat /etc/hosts.deny
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    319
    Likes Received:
    29
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    Deny isn't show IP there.

    Allow it shows IP there.
    cpaneld : ALL EXCEPT MyIPAddress : deny
    whostmgrd : ALL EXCEPT MyIPAddress : deny
    sshd : ALL EXCEPT MyIPAddress : deny
    ftp : ALL EXCEPT RandomIP : deny


    FTP in another IP test. I try a test to connect to ftp was successful. It is doesn't work firewall.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,783
    Likes Received:
    132
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Samet Chan likes this.
  5. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    319
    Likes Received:
    29
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I tried to find mod_wrap was not found from EA4.


    EDIT: Never mind, I follow this cPanel documentation was helpfully and solved my problem. It works! :)

    Just testing from 127.0.0.1 IP added on HAC = Host Access Control. It works fine! I changed to my IP Real allowed from FTP works fine now.

    Thank you! :)
     
    #5 Samet Chan, Jul 6, 2018
    Last edited: Jul 6, 2018
  6. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,783
    Likes Received:
    132
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Samet Chan


    I'm really happy to hear that it worked for you! Thank you for updating us with the outcome :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Samet Chan likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice