User Tools

Site Tools


firewalld-zones-centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
firewalld-zones-centos7 [2015/03/17 14:25] herwarthfirewalld-zones-centos7 [2017/04/27 11:54] (current) herwarth
Line 35: Line 35:
   firewall-cmd --permanent --zone=public --add-source=::/0   firewall-cmd --permanent --zone=public --add-source=::/0
  
-  firewall-cmd --permanent --zone=dmz --add-source=5.200.9.240/28 +  firewall-cmd --permanent --zone=dmz --add-source=185.106.153.224/29
-  firewall-cmd --permanent --zone=dmz --add-source=2a00:1630:59::/64 +
-  firewall-cmd --permanent --zone=dmz --add-source=46.44.183.176/28+
   firewall-cmd --permanent --zone=dmz --add-source=2a02:22a0:bbb7:400::/64   firewall-cmd --permanent --zone=dmz --add-source=2a02:22a0:bbb7:400::/64
-  firewall-cmd --permanent --zone=dmz --add-source=94.142.242.32/28 +  firewall-cmd --permanent --zone=dmz --add-source=192.168.10.0/24 
-  firewall-cmd --permanent --zone=dmz --add-source=2a02:898:126::/64+  firewall-cmd --permanent --zone=dmz --add-source=2a02:22a0:bbb7:401::/64 
  
   firewall-cmd --permanent --zone=local --add-source=172.16.3.0/24   firewall-cmd --permanent --zone=local --add-source=172.16.3.0/24
   firewall-cmd --permanent --zone=local --add-source=2a02:22a0:bbb7:403::/64   firewall-cmd --permanent --zone=local --add-source=2a02:22a0:bbb7:403::/64
-  firewall-cmd --permanent --zone=local --add-source=172.16.5.0/24 
-  firewall-cmd --permanent --zone=local --add-source=2a00:1630:59:5::/64 
-  firewall-cmd --permanent --zone=local --add-source=172.16.7.0/24 
-  firewall-cmd --permanent --zone=local --add-source=2a02:898:126:7::/64 
  
   firewall-cmd --permanent --zone=management --add-source=172.16.2.0/24   firewall-cmd --permanent --zone=management --add-source=172.16.2.0/24
   firewall-cmd --permanent --zone=management --add-source=2a02:22a0:bbb7:402::/64   firewall-cmd --permanent --zone=management --add-source=2a02:22a0:bbb7:402::/64
-  firewall-cmd --permanent --zone=management --add-source=172.16.4.0/24 +
-  firewall-cmd --permanent --zone=management --add-source=2a00:1630:59:4::/64 +
-  firewall-cmd --permanent --zone=management --add-source=172.16.6.0/24 +
-  firewall-cmd --permanent --zone=management --add-source=2a02:898:126:6::/64+
 ====Create additional services==== ====Create additional services====
 <code - /etc/firewalld/services/check-mk-agent.xml> <code - /etc/firewalld/services/check-mk-agent.xml>
Line 74: Line 66:
   source address="2a00:1630:59:4::14" service name="check-mk-agent" accept"   source address="2a00:1630:59:4::14" service name="check-mk-agent" accept"
  
-  firewall-cmd --permanent --zone=management --add-service=check-mk-agent 
  
 ====Set default zone==== ====Set default zone====
-  firewall-cmd --set-default-zone=dmz+  firewall-cmd --set-default-zone=public
  
 =====Examples===== =====Examples=====
firewalld-zones-centos7.1426602339.txt.gz · Last modified: by herwarth