mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update ubuntu.sh
This commit is contained in:
@@ -31,6 +31,7 @@ if [ -f /usr/sbin/ufw ];then
|
||||
|
||||
# look
|
||||
# ufw status
|
||||
ufw enable
|
||||
|
||||
if [ "$SSH_PORT" != "" ];then
|
||||
ufw allow $SSH_PORT/tcp
|
||||
|
||||
Reference in New Issue
Block a user