Azure VM 使用FileZilla Server 搭建FTP
FileZilla Server 下载地址 https://filezilla-project.org/download.php?type=server
一、下载并安装
下载最新版的 FileZilla Server
FileZilla Server 和 FileZilla Client不一样,FileZilla Server 是没有中文版的,不过都是常见的英文,也不复杂。
记住安装目录下面配置防火墙会用到默认为 C:\Program Files (x86)\FileZilla Server
二、选择监听端口
为了尽量用稍微大一点得端口防止其他的程序占用导致连接失败。

三、增加用户或用户组,并指定文件Shared folders

四、设置Passive model settings (注:由于Azure安全设计问题,这个地方需要配置一下)
1、将默认得Default改成Use the following IP 然后输入VM对外得IP地址。
2、勾选Use coustom port range 输入一个端口区间。

五、设置防火墙入站规则
1、增加FileZilla Server和FileZilla Server Interface入站规则
NewRule→Program→This program path(FileZilla Server安装目录)→Allow the connection
2、配置FTP 允许端口
NewRule→Port→Specific local ports(FileZilla Service 中配置的Port 区间)→Allow the connection

六、在Azure上添加入站规则
1、找到VM对应的网络安全组 "VM [name]-nsg"

2、入站安全规则中添加端口号


完成上述配置你的FTP配置就完成的。
参考文章: http://blog.csdn.net/shaunfang/article/details/8933854

浙公网安备 33010602011771号