在Debian系統上配置FileZilla防火墻主要涉及使用iptables或ufw工具。以下是詳細的步驟指南:
sudo apt-get update
sudo apt-get install iptables
sudo iptables -L
# 允許FTP服務的20和21端口
sudo iptables -A INPUT -p tcp --dport 20 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 21 -j ACCEPT
sudo iptables-save /etc/iptables/rules.v4
sudo systemctl enable iptables
sudo systemctl start iptables
sudo apt-get update
sudo apt-get install ufw
sudo ufw allow 21/tcp
sudo ufw allow 20/tcp
sudo ufw enable
sudo ufw status
wget https://dl3.cdn.filezilla-project.org/server/FileZilla_Server_1.7.3_x86_64-linux-gnu.debs
sudo dpkg -i FileZilla_Server_1.7.3_x86_64-linux-gnu.deb
配置FileZilla Server:
/opt/filezilla-server/etc/settings.xml
,修改管理端口和密碼等配置。啟用TLS加密認證:
通過上述步驟,您可以在Debian系統上成功配置FileZilla防火墻,提高其安全性和傳輸效率。如果在配置過程中遇到任何問題,可以參考FileZilla的官方文檔或尋求社區幫助。