用 FileZilla Server 建立安全的 SSL/TLS FTP
FileZilla 是免费的 FTP 解决方案,分为 FileZilla Client 和 FileZilla Server,本文就是用 FileZilla Server 建立 FTP Server,并且是加密传输的。
一、下载并安装
下载***版的 FileZilla Server
FileZilla Server 和 FileZilla Client不一样,FileZilla Server 是没有中文版的,不过都是常见的英文,也不复杂。
二、配置 SSL/TLS
单击桌面上的图标,连接到 Server 后,到设置对话框。找到“SSL/TLS settings”,单击“Generate new certificate”。
![](https://s3.51cto.com/oss/202207/20/6656efd27a80f89f0756555140223102b96e85.png)
在弹出对话框中,输入国家代码、省、市、组织、联系邮件地址等,单击“Generate certificate”。
![](https://s2.51cto.com/oss/202207/20/055cfbe547ce31139e4810432fb24b4f1b4b1f.png)
选中“Enable FTP over SSL/TLS support(FTPS)”
![](https://s7.51cto.com/oss/202207/20/a7aae8958a8b7671ab56159e90edb19dd69606.png)
三、添加 FTP 用户
打开“Users”对话框:添加用户;输入密码;选中“Force SSL for user login”,目的是强制使用 SSL,当然如果不选的话,要不要使用 SSL,就由客户端自己选择了。
![](https://s5.51cto.com/oss/202207/20/05c23ed61cc4c227a3c3574dfbde81832c0787.png)
在“Shared folders”中添加 FTP 文件夹,并设置相应权限。
![](https://s2.51cto.com/oss/202207/20/09916e8201a9735862f23729495e55fdced993.png)
四、用 FileZilla Client 连接 FTP 服务器
和普通的连接相同,只是注意选择 Servertype,如下图:
![](https://s7.51cto.com/oss/202207/20/2663f427441e8317b03921485bd3df75acfcd9.png)
总之,FileZilla Server 是一款不错的 FTP 服务器软件,它还支持限速,支持 IP 限制,管理、监控方便……另外,还是开源、免费的软件。
【编辑推荐】