Proxy FTP

Discussion in 'ISPConfig 3 Priority Support' started by Chowder, Jan 29, 2020.

  1. Chowder

    Chowder New Member

    Hello guys

    I have a perfect nginx debian 9 server on my test server
    The server has ip 192.168.1.100 and I host a domain (domain.com for example)
    I make a subdomain nas.domain.com and redirect to 192.168.1.101 where I have a nas server. The web interface works fine, but when I test ftp ftp://nas.domain.com , it doesn't work. Only the account made for domain.com goes, I cannot access the accounts and the passwords of the ftp on the nas.
    How can I make them work?

    Thx!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is this a redirect in the website? Does name service return the NAS server IP when querying for nas.domain.com?
     
  3. Chowder

    Chowder New Member

    First i put a domain in my isp . ex domain.com . I make a ftp acount for domain.
    After i make a subdomain and put redirect and i to nas
    When i try to acces a nas ftp (ftp://nas.domain.com) work just ftp acount for domain.com
    Web redirect me corectly to nas web interface .
    I don`t know how to explain ...

    [​IMG] [​IMG]
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is a proxy for port 80 and 443 (http and https), you can't use FTP trough that proxy and ISPConfig has no functions to proxy FTP connections.
     
    Last edited: Jan 30, 2020
  5. Th0m

    Th0m Member HowtoForge Supporter

    443 is for https, not 442 ;)
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    *upps* :) I've corrected my post.
     
    Th0m likes this.
  7. Chowder

    Chowder New Member

    ok, ok ... my question is how can i also proxy ftp? A method to do that you have?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You must find an FTP proxy software and install it. I have not done that yet on a server as it's not very commonly used, so I can not recommend you any software or setup. If its just one NAS account that you want to access by FTP, then I would consider if it's not better to just mount the NAS drive by using e.g. Cifs or sshfs or FTPFS or any other network filesystem into the file system of your web server.
     
  9. Chowder

    Chowder New Member

    It's not just an account I want to access that's the problem ... I use this nose to back up databases that have different accounts
     

Share This Page