mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
14b308474a
commit
c238c31c9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user