diff --git a/INSTALL.sh b/INSTALL.sh index 9ddbf612..e4390a7f 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -951,7 +951,11 @@ setup_firewall_service() { open_port_csf 2087 #admin open_port_csf $(extract_port_from_file "/etc/ssh/sshd_config" "Port") #ssh open_port_csf 32768:60999 #docker - + + open_port_csf 21 #ftp + open_port_csf 21000-21010 #passive ftp + + set_csf_email_address csf -r > /dev/null 2>&1 echo "Restarting CSF service" @@ -1001,6 +1005,8 @@ setup_firewall_service() { debug_log ufw allow 443/tcp # https debug_log ufw allow 2083/tcp #openpanel debug_log ufw allow 2087/tcp #openadmin + debug_log ufw allow 21/tcp #ftp + debug_log ufw allow 21000-21010/tcp #passive ftp debug_log "yes | ufw enable" if [ "$NO_SSH" = false ]; then