1,FileZilla Server(windows)配置
- a,指定服务器动态开放的端口
- b,在服务器有nat转换下,需要在Use the following IP填入外网地址或动态域名。
2,pure-ftpd(linux)
修改配置文件pure-ftpd.conf
a,指定服务器动态开放的端口
# Port range for passive connections - keep it as broad as possible.
PassivePortRange 30000 30050
b,在服务器有nat转换下,需要在Use the following IP填入外网地址或动态域名
# Force an IP address in PASV/EPSV/SPSV replies. - for NAT.
# Symbolic host names are also accepted for gateways with dynamic IP
# addresses.
ForcePassiveIP 192.168.0.1
3,vsftpd(linux)