How to Create an Externally Accessible FTP Server
- Access the server preferences in .
- Click New FTP server.
Result: The New FTP server page is displayed.
- Create an FTP server within RemotelyAnywhere with the default settings, listening on all available interfaces, with the default FTP port of 21.
- Set the IP address of the network interface connecting to the NAT router as 192.168.1.2, the subnet mask to 255.255.0.0, and the external IP address to 220.127.116.11.
- Set the port range for passive data transfers to 5200-5299.
- Configure your router so that it forwards connections to 18.104.22.168:21 to 192.168.1.2:21 and make sure port 21 is open on the firewall.
- Configure the router to forward connections to 22.214.171.124:5200-5299 to 192.168.1.2:5200-5299 and make sure that you open the 5200-5299 port range on the firewall.
- Finish configuring your remaining FTP settings (security, users, and so on).
- 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.
- Click Apply.
The following FTP server configuration pages will become available as buttons at the bottom of the page:
- Windows Users
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.