ftp-server-nat
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ftp-server-nat [2024/04/18 21:22] – kingk | ftp-server-nat [2024/04/25 19:39] (current) – kingk | ||
---|---|---|---|
Line 1: | Line 1: | ||
**uFTP - FTP server under NAT ** | **uFTP - FTP server under NAT ** | ||
+ | |||
+ | FTP servers can work under NAT but there are 3 main issues to solve. | ||
+ | |||
+ | The 1st one is that the service standard port (21 is the standard FTP port) needs to be forwarded to the FTP server. | ||
+ | |||
+ | The 2nd is that for file transfer and other command such as LIST, a second TCP channel need to be established in a random port. To solve this issue a port range should be configured in the uftp server config file and the router should be configured accordingly. | ||
+ | |||
+ | The 3rd and last problem is that the ftp ip address should be sent to the client, if the FTP is under NAT the IP address should be written in the config of uftp server. | ||
+ | Luckily modern FTP clients such as FileZilla don't need this configuration, | ||
uFTP can easily set to work under NAT, some parameters need to be adjusted. | uFTP can easily set to work under NAT, some parameters need to be adjusted. |
ftp-server-nat.txt · Last modified: 2024/04/25 19:39 by kingk