mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 02:39:26 +08:00
Update ubuntu.sh
This commit is contained in:
@@ -70,7 +70,7 @@ echo "SSH PORT:${SSH_PORT}"
|
||||
if [ -f /usr/sbin/ufw ];then
|
||||
# look
|
||||
# ufw status
|
||||
ufw enable
|
||||
echo 'y' | ufw enable
|
||||
|
||||
if [ "$SSH_PORT" != "" ];then
|
||||
ufw allow $SSH_PORT/tcp
|
||||
|
||||
Reference in New Issue
Block a user