mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update rhel.sh
This commit is contained in:
@@ -108,6 +108,7 @@ if [ -f /usr/sbin/firewalld ];then
|
||||
# look
|
||||
# firewall-cmd --list-all
|
||||
# systemctl status firewalld
|
||||
# firewall-cmd --zone=public --remove-port=80/tcp --permanent
|
||||
|
||||
if [ "$SSH_PORT" != "" ];then
|
||||
firewall-cmd --permanent --zone=public --add-port=${SSH_PORT}/tcp
|
||||
|
||||
Reference in New Issue
Block a user