Product SiteDocumentation Site

3.8.13.5.6. Set the default zone by using the CLI
To set the default zone, for example to public, enter the following command as root:
~]# firewall-cmd --set-default-zone=public
This change will take immediate effect and in this case it is not necessary to reload the firewall.