Unable to connect to server after FirewallD setup
I have been following the instructions for setting up FirewallD on my server. I have reached this step FirewallD setup and have completed 1, 2, and 3. Now my preview URL is unreachable. The following is outputted after using the firewall-cmd --zone=dmz --list-all command.
services: http https ssh
I am new to server setup and Linode, so I am learning as I go. Any suggestions or tips are greatly appreciated.
This should work, as I have the same settings on my personal server.
# firewall-cmd --zone=dmz --list-all dmz (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: http https ssh ports: protocols: masquerade: no forward-ports: sourceports: icmp-blocks: rich rules:
Have you verified that the web service is running on your server? The following command will show if your web service is indeed running on your server.
Also, have you tried restarting the web service for your server? Depending on which web service you are using for your server, you can restart the service using one of the following commands.
sudo systemctl restart apache2
sudo systemctl restart nginx
sudo systemctl restart httpd