Can't connect to FTP with Filezilla from Windows PC, but works on phone with Total Commander

  • Hey guys,

    I wanted to setup an FTP server in OMV 6 to share some files with my cousin. (I know there are solutions like Nextcloud, but somehow his download speed is at 300kB/s while I could upload with 100MBit/s when we use Nextcloud.).

    So he suggested to try FTP.

    I setup the FTP as a service in OMV as you would reguarly with a user (him), a shared folder, have an duckdns-domain and openened the port 21 in my router.

    For f***s sake I cannot connect to the ftp using my domain with Filezilla from a Windows PC, although it is possible with Total Commander using my phone with 4G connection.

    Also ftptest.net says it can connect with the provided user/password.


    What preferences do I have to look over if they are correctly set?


    Thank you very much!


    EDIT: I appreciate any hints / suggestions in English or German!

  • To set up an FTP server in OpenMediaVault 6, you can follow these steps:

    1. Install the FTP server plugin:
      • Go to the web interface of OpenMediaVault by typing its IP address in a web browser.
      • Log in with your username and password.
      • Click on "Plugins" on the left sidebar.
      • Search for "FTP" in the search box.
      • Click on "Install" for the "openmediavault-ftp" plugin.
    2. Configure the FTP server:
      • After installation, click on "FTP" on the left sidebar.
      • Click on the "General Settings" tab.
      • Set the "Enable" switch to "Yes".
      • Set the "Anonymous access" switch to "Yes" if you want to allow anonymous users to access your FTP server. Otherwise, set it to "No".
      • Set the "Upload/download rate" limits as per your requirement.
      • Click on the "Save" button.
    3. Create a shared folder:
      • Click on "Shared Folders" on the left sidebar.
      • Click on the "Add" button.
      • Provide a name for the shared folder.
      • Set the permissions as per your requirement.
      • Click on the "Save" button.
    4. Set the FTP server access to the shared folder:
      • Click on "FTP" on the left sidebar.
      • Click on the "Shares" tab.
      • Click on the "Add" button.
      • Select the shared folder you created in step 3 from the dropdown.
      • Set the permissions as per your requirement.
      • Click on the "Save" button.

    You should now be able to access your FTP server using an FTP client such as FileZilla or WinSCP. The FTP server address would be your OpenMediaVault server's IP address, and the username and password would be the same as your OpenMediaVault login credentials.

  • Hitul

    This is exactly how I configured my FTP server, but not the anonymous login... I created a user and pw.

    I can access it inside my LAN, but using my "DuckDNS domain:21", which points to my OMV, I cannot access the FTP from my PC.

    I can access it from my phone (not using my wifi) using f.e. Total Commander with my domain and Port 21, which I opened in my router.

  • Hitul

    This is exactly how I configured my FTP server, but not the anonymous login... I created a user and pw.

    I can access it inside my LAN, but using my "DuckDNS domain:21", which points to my OMV, I cannot access the FTP from my PC.

    I can access it from my phone (not using my wifi) using f.e. Total Commander with my domain and Port 21, which I opened in my router.

    looks like a NAT problem, your router probably can manage well NAT so you can access a internal IP that is routed throught external DNS resolver like duckdns.


    Test if works from a external PC like your office PC and not from your home PC.



    PD: This problem is notorious on dockerized apps like pihole ( you can access it locally using same url that works from outside your local LAN). eg: https://pihole.mydomain.duckdns.org

  • Test if works from a external PC like your office PC and not from your home PC.

    Unfortunately I am at home right now and can't access any PC outside my home.

    I have to wait until my cousin will be ready to try out.


    You seem to have the right hint, because accessing my FTP by my phone, with WiFi turned on, is not possible.

  • A likely explanation for your problem is that your router does not support NAT reflection (or NAT Loopback), or if it is supported it is not enabled.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


    • Official Post

    Looked up my router, a Speedport Smart 3, and it doesn't support NAT loopback.

    I had the same problem and I fixed it with a DNS Server. I did it on the same router, it gives me that possibility, but it can be done in other ways.

  • So, my cousin could establish a ftp-connection, but it was not getting higher than 2Mb/s in transfer speed...

    He has a 50MBit dl / 40MBit ul Vodafone connection and I have a 500MBit down / 100MBit up connection from Telekom.

    I would have been happy, if the ftp connection would work at a constant 50MBit/s.


    Now, we're trying to send the big file over Teamviewer and I have 50MBit upload..the max of his download.

  • I'm facing approximatively the same issue.

    All the users trying to connect to the FTP (different IP for everyone) get an invalid password error since FTP has become a separate plugin.

    I removed all the ban rules and now it's ok for everyone.

    English isn't my native language, so, sorry if I make mistakes ^^


    OMV 7.7.7-1 | Linux 6.12.22+bpo-amd64 | openmediavault-omvextrasorg 7.0.2

  • There are a few possible reasons why you are able to connect to FTP using Total Commander on your phone but not with Filezilla on your Windows PC. Here are some troubleshooting steps you can try:

    1. Check the FTP credentials: Make sure that you are entering the correct username and password in Filezilla. Verify that the hostname and port are also correct. You can double-check this information with the FTP server administrator or hosting provider.
    2. Check the firewall settings: It is possible that your firewall is blocking the FTP connection. Make sure that your firewall is configured to allow Filezilla to connect to the internet. You may need to add an exception for Filezilla in your firewall settings.
    3. Try using passive mode: Filezilla uses two modes for FTP connections: active and passive. If you are having trouble connecting, try switching to passive mode. You can do this by going to File > Site Manager > Transfer Settings and selecting "Passive" under "Transfer Mode."
    4. Check for software conflicts: If you have other software that uses FTP, it may be conflicting with Filezilla. Try closing any other software that uses FTP and then attempt to connect with Filezilla.
    5. Update Filezilla: Make sure that you are running the latest version of Filezilla. You can check for updates by going to Help > Check for Updates. If there is an update available, download and install it.
    6. Check for network issues: There may be issues with your network that are preventing Filezilla from connecting to the FTP server. Try connecting from a different network or using a VPN.

    If none of these steps work, you may want to contact your FTP server administrator or hosting provider for further assistance jo

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!