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