Since Wing FTP Server v5.1.2, we released a new product - Wing Gateway, it can provide reverse proxy and load balance service for Wing FTP Server, the gateway software needs to be downloaded and purchased separately, and you usually also need to install it another server machine (located in the DMZ). To add a new gateway server, just navigate to "Server -> Settings -> Gateway manager," and click on the button "Add Gateway":
And just input a few necessary fields like "Host IP," "Port," and "Password," and then click "OK":
In the above screenshot, you can configure the following settings:
• | Enable gateway: enable or disable this gateway |
• | Host IP: the IP address of this gateway |
• | Port: the port of this gateway, default communication port is 7466. Please make sure Wing FTP server can access this port, and also make sure Wing Gateway can reach Wing FTP server. |
• | Password: the communication password to that gateway |
• | Description: the description note |
• | Failover server: if you enable this checkbox, then the current Wing FTP machine will play as a failover server. It will standby until the master node fails or goes down. |
• | Listen on single IP: if the gateway server has multiple IP addresses, FTP/HTTP/SFTP listener will listen on the Host IP only when this option is enabled. |
• | Connection Test: click this button to verify whether gateway settings are correct |
After adding the Wing Gateway, you need to add the listener proxy for the gateway, just navigate to "Domain -> Settings -> Listeners":
Double click on the existed listener (or add listener if no listener exists), then select the gateway host and input a port which gateway will be listening:
As the above screenshot settings, now Wing Gateway (192.168.31.162) will listen and accept connections on its port 22, and forward all the connections (on port 22) to Wing FTP server:2200.
That's all things about Wing Gateway settings! Very easy, right?
So if you have several Wing FTP server machines, and want to make an FTP server cluster, you just need to add the same settings on another Wing FTP server machine, then Wing Gateway will distribute incoming connections equally among multiple Wing FTP server machines.
Additionally, for keeping the same user data in all the cluster nodes, you need to use database or LDAP authentication, and for keeping the same file data in all the cluster nodes, you need to use NAS server or shared folders. So here is an example of deployment diagram for Wing FTP server cluster with Wing Gateway: