使用Filezilla搭建FTP服務器


1.FTP over TLS is not enabled, users cannot securely

http://blog.sina.com.cn/s/blog_4cd978f90102vtwl.html

FTP over TLS 0.9.51升級后, 進入管理面板, 會出現如下警告提示:
Warning: FTP over TLS is not enabled, users cannot securely log in.
表示未啟用tls模式, 為此今天特別實地操作了一次.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

進入設置->ssl/tls設置.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

生成一個新證書. 服務器地址用機器的ip即可.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

點擊生成證書, 一會兒就提示成功.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

密鑰的密碼隨意輸入一個. 注意看下面有一個端口. 這是表示ssl, tls連接端口.
最后點擊左下的確認即可.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

當你用sll 或者 tls連接時, 它會提示你證書信息, 你選擇通過並且保存即可

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

FTP日志顯示, tls加密連接成功..

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

默認的ftp模式, 21端口是無法連接的.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

你會收到它的異常信息.

FTP <wbr>over <wbr>TLS <wbr>is <wbr>not <wbr>enabled, <wbr>users <wbr>cannot <wbr>securely <wbr>

2.You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router

https://www.cnblogs.com/qianzf/p/7064715.html

    • 問題與警告

      問題:You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router.
      解決方法:
      “Edit”-“Setting”或直接點擊設置按鈕(齒輪);
      選擇“Passive mode settings”選項卡,勾選“Use the following IP:”並填寫服務器的IP地址,之后點擊“OK”保存;

       

      接下來的提示信息中不再提示上述問題;
      另外上面的設置中如果沒有設置“Use custom port range”,那么在客戶端連接服務端讀取目錄時就會報以下的錯誤:響應: 425 Can't open data connection for transfer of "/"
      這個問題主要是由於使用Passive Mode模式造成的。
      解決方法:在上面的設置窗口中要勾選該項,設置端口范圍,並在后面的防火牆設置中,將端口范圍加入到入站端口中。

      警告:Warning: FTP over TLS is not enabled, users cannot securely log in.
      解決方法:啟用TLS傳輸,具體操作如下:
      “Edit”-“Setting”或直接點擊設置按鈕(齒輪);
      選擇“FTP over TLS settings”選項卡,點擊“Generate new certificate...”;
      生成驗證時Key size”根據自己的喜好選擇即可,其他信息可以根據自己的情況隨意填寫,然后選擇保存地址(最好放到安裝路徑下) “;

       

      名稱默認為“certificate.crt”就好,最終選擇生成;
      提示“Certificate generated successfully”則說明生成沒有問題,點擊“確定”關閉彈窗;
      點擊“OK”保存設置;
      之后的信息提示不再出現警告。

    • 接下來就是創建“Group”,“Users”並設置“Shared folders”

      不做詳細解說,只需注意:

      1. 添加用戶時為用戶分配組;

      2. 為用戶分配文件夾的權限,並指定Home文件夾(即“Set as home dir”,路徑前出現“H”即可),如下圖;

       

    • 端口設置

      默認端口:21 加密端口:990 自定義的端口范圍:10000-10200(根據自己的情況更改)可以自行設置,但是需要注意的是無論使用什么端口,在后面一定要添加到防火牆的入站規則中去。

    • 在本地安裝客戶端

      通過客戶端連接服務器就可以了。初次連接時會提示如下,選擇信任,確定即可。

 

3.服務器發回了不可路由的地址。使用服務器地址代替

需要設置filezilla客戶端的連接參數

  1. 選中某一連接項
  2. 高級——加密——只使用普通ftp
  3. 傳輸設置——傳輸模式——主動
  4. 重新連接

3.用FileZilla Server新增FTP帳號

https://jingyan.baidu.com/article/b907e627f4f5f446e7891cdf.html

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM