Enabling the firewall
Enable your firewall so that it can work together with the Apache HTTPS server.
- Start the firewall, and then give the http and https services permission to access the
firewall.
# systemctl start firewalld.service # firewall-cmd --add-service http --permanent success # firewall-cmd --add-service https --permanent success
- Restart the firewall in order to make your permission changes active and automatically enable
the firewall service on
boot.
# systemctl restart firewalld.service # systemctl enable firewalld.service ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service' ln -s '/usr/lib/systemd/system/firewalld.service' '/etc/systemd/system/basic.target.wants/firewalld.service'