product icon

How to Create an Externally Accessible FTP Server

    1. Access the server preferences in Server Functions > FTP Configuration.
    2. Click New FTP server.

      Result: The New FTP server page is displayed.

    3. Create an FTP server within RemotelyAnywhere with the default settings, listening on all available interfaces, with the default FTP port of 21.
    4. Set the IP address of the network interface connecting to the NAT router as, the subnet mask to, and the external IP address to
    5. Set the port range for passive data transfers to 5200-5299.
    6. Configure your router so that it forwards connections to to and make sure port 21 is open on the firewall.
    7. Configure the router to forward connections to to and make sure that you open the 5200-5299 port range on the firewall.
    8. Finish configuring your remaining FTP settings (security, users, and so on).
    9. Select the Use implicit SSL encryption option for your FTP server.
      Note: If a server uses implicit SSL connections, it will accept these connections alone and clients must be configured accordingly. Most clients default to port 990 when creating implicit SSL FTP site entries.
    10. Click Apply.


      The following FTP server configuration pages will become available as buttons at the bottom of the page:

      • Security
      • Windows Users
      • Welcome
      • ODBC

    Results: If the server is behind a firewall it accepts connections on the port [server port - 1] by default. For example, the server will try port 20 if it is on the default FTP port of 21. If multiple clients were to try to establish simultaneous data connections this would fail and the server would query Windows for an arbitrary free port. To avoid this, you can specify a range of ports on which to accept connections.
    Article last updated: 27 September, 2022