linux中VSFTP无法从外网访问问题解决如下:
需要防火墙配置文件里配置端口映射
iptables -t nat -A POSTROUTING -d 202.100.0.22 -p tcp --dport 21 -j SNAT --to 172.16.0.22
202.100.0.22 是公网地址,172.16.0.22是内网地址。
这样就可以通过外网访问到内网的21端口了。
Ubuntu15.04中FTP-vsftp配置:http://www.linuxdiyf.com/linux/13631.html
vsftpd:Linux Ubuntu上架设FTP:http://www.linuxdiyf.com/linux/12176.html
Ubuntu下使用vsftpd搭建FTP服务器:http://www.linuxdiyf.com/linux/893.html
Linux FTP服务器之vsftpd配置使用:http://www.linuxdiyf.com/linux/11991.html
Linux下安装vsftpd详解 安全的ftp:http://www.linuxdiyf.com/linux/859.html