Commit bd91dde1 by ChongmingDu

Update firewall.sh

parent cccf7aa8
...@@ -6,6 +6,7 @@ firewall-cmd --permanent --add-port=80/tcp ...@@ -6,6 +6,7 @@ firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --permanent --add-service=http firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.16.0.0/16" port protocol="tcp" port="1-65535" accept" firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="172.16.0.0/16" port protocol="tcp" port="1-65535" accept"
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.0.0/16" port protocol="tcp" port="1-65535" accept"
firewall-cmd --permanent --add-port=9527/tcp firewall-cmd --permanent --add-port=9527/tcp
firewall-cmd --reload firewall-cmd --reload
firewall-cmd --list-all firewall-cmd --list-all
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment