From 75a2fcdaafb9b8d8274b74c72d5c7525623564f8 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 11 Feb 2023 15:24:17 +0800 Subject: [PATCH] Update debian.sh --- scripts/install/debian.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/install/debian.sh b/scripts/install/debian.sh index 855b94480..40aafac0f 100644 --- a/scripts/install/debian.sh +++ b/scripts/install/debian.sh @@ -46,19 +46,15 @@ apt install -y wget curl lsof unzip tar cron expect locate apt install -y python3-pip python3-dev python3-venv if [ -f /usr/sbin/ufw ];then - if [ "$SSH_PORT" != "" ];then ufw allow $SSH_PORT/tcp else ufw allow 22/tcp fi - + ufw allow 80/tcp ufw allow 443/tcp ufw allow 888/tcp - # ufw allow 7200/tcp - # ufw allow 3306/tcp - # ufw allow 30000:40000/tcp fi if [ -f /usr/sbin/ufw ];then