Update ubuntu.sh

This commit is contained in:
midoks 2023-02-05 12:16:55 +08:00
parent 2cfa7ec2ab
commit 8b108d1aff
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ if [ -f /usr/sbin/ufw ];then
# look
# ufw status
ufw enable
if [ "$SSH_PORT" != "" ];then
ufw allow $SSH_PORT/tcp