opt: setting firewall

This commit is contained in:
simonzhangsz committed 2024-07-09 16:13:50 +08:00
1 parent 2097f177e0
commit 761e4ed44a
1 file changed
+1
+1
View File
@@ -136,6 +136,7 @@ PortList="80 33030 443 33443 22222"
for Port in ${PortList}; do
firewall-cmd --zone=public --add-port=${Port}/tcp --permanent
done
firewall-cmd --reload
systemctl daemon-reload
systemctl enable restagent.service