User Tools

Site Tools


firewalld

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 [2015/11/15 12:14] michaelfirewalld [2021/04/24 07:40] (current) – external edit 127.0.0.1
Line 2: Line 2:
   [root@ system]# firewall-cmd --get-zones   [root@ system]# firewall-cmd --get-zones
   block dmz drop external home internal public trusted work   block dmz drop external home internal public trusted work
 +
 +  each zone has an *.xmo file in /etc/firewalld/zones
  
 QUERY DEFAULT ZONE: QUERY DEFAULT ZONE:
Line 10: Line 12:
   [root@ system]# firewall-cmd --get-active-zones   [root@ system]# firewall-cmd --get-active-zones
   [root@ system]#   [root@ system]#
 +  
 +MOVE AN EXSITING ZONE TO A DIFFERENT INTERFACE:
 +  [root@ system]# firewall-cmd --zone=internal --change-interface=eth0
 +
 +LIST AVAILABLE PREDEFINED SERVICES:
 +  [root@ system]# firewall-cmd --get-services
 +  RH-Satellite-6 amanda-client bacula bacula-client dhcp dhcpv6 dhcpv6-client dns ftp high-availability http https imaps ipp ipp-client ipsec kerberos kpasswd ldap ldaps libvirt libvirt-tls mdns mountd ms-wbt mysql nfs ntp openvpn   pmcd pmproxy pmwebapi pmwebapis pop3s postgresql proxy-dhcp radius rpc-bind samba samba-client smtp ssh telnet tftp tftp-client transmission-client vnc-server wbem-https
 +
  
 STANDARD PORTS NEEDED: STANDARD PORTS NEEDED:
Line 29: Line 39:
   success   success
  
 +RELOAD THE RULES: 
 +  [root@ system]# firewall-cmd --reload 
 +  [root@ system]# success
  
firewalld.1447589661.txt.gz · Last modified: 2021/04/24 07:38 (external edit)