Practical Examples: Firewall on Red Hat Linux
Firewall On Red Hat Linux To list all services available on the system: [root@linux ~]# firewall-cmd --get-services RH-Satellite-6 amanda-client bacula bacula-client cups dhcp dhcpv6 dhcpv6-client dns freeipa-ldap freeipa-ldaps freeipa-replication ftp high-availability http https imaps ipp ipp-client ipsec iscsi-target 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 rsyncd samba samba-client smtp ssh telnet tftp tftp-client transmission-client vdsm vnc-server wbem-https To list all zones available on the system: [root@linux ~]# firewall-cmd --get-zones block dmz drop external Home internal public trusted work. To list the default zone of your system: [root@linux ~]# firewall-cmd --get-default-zone public To list all the zones: [root@linux ~]# firewall-cmd --list-all-zones block interfaces: sources: services...