How to Stop and Disable Firewalld Updated on February 3, 2025 by InMotion Hosting Contributor 1 Minutes, 57 Seconds to Read Firewalld is a popular, lightweight command-line firewall for Linux server and desktop systems. We’ve covered how to open necessary ports and services in Firewalld. We’ve also covered how to manage zones and more advanced Firewalld configurations. According to the configuration guide, one of the most important tasks for troubleshooting server access is to temporarily or permanently disable the firewall. Why? Troubleshooting connection issues. Sometimes, something goes wrong, and temporarily disabling Firewalld can help you troubleshoot the problem. Firewalld blocks traffic from most ports by default. For this reason, it may be better to configure open ports with firewall-offline-cmd before enabling the firewall on more complex production systems. Testing another firewall application. You may want to test a different firewall application without a staging or development system. For example, ConfigServer Security & Firewall (CSF) is popular for its powerful yet user-friendly setup process and cPanel plugin for managed VPS and dedicated servers. Below, we cover how to temporarily stop Firewalld and disable Firewalld from starting upon system reboot. firewalld.service and firewalld can be used interchangeably with the Systemd commands below. How to Stop Firewalld Systemd stop and start commands refer to the current server session. Follow these steps to stop Firewalld until manually started again or the server reboots if Firewalld is enabled. Log into SSH Check Firewalld status: systemctl status firewalld.serviceIf Firewalld is running, you’ll see a green circle (🟢) before firewalld.service, and two lines below, Active: active (running). The Loaded row states whether the service is enabled to start upon reboot.For a quick active or inactive instead: systemctl is-active firewalld.service Stop Firewalld for the current session: systemctl stop firewalld.service Confirm Firewalld is inactive systemctl status firewalldYou should see a white circle (○) before firewalld.service and Active: inactive (dead). Start Firewalld once desired: systemctl start firewalld Scalable VPS Infrastructure, Fully Managed When shared hosting can't handle your traffic, VPS delivers dedicated resources that scale with demand. Our team manages the technical complexity while you manage your business. NVMe Storage High-Availability Ironclad Security Premium Support VPS Hosting Disable Firewalld Systemd disable and enable commands refer to whether a process starts automatically when the server reboots. This operates separately from stop / inactive status above. Check Firewalld status:systemctl status firewalldThe Loaded row states whether the service is enabled to start upon reboot. Disable Firewalld from starting at boot: systemctl disable firewalld Confirm Firewalld is disabled: systemctl status firewalld Enable Firewalld once desired: systemctl enable firewalld Want to learn more about server security? Read more about Dedicated server and VPS hardening in our complete guide. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles Content Security Policy (CSP) Headers – Complete Reference Guide Why You Need To Keep Your Website’s PHP Version Up-to-Date Learning About Mod_security and Disabling Mod_security Close Open Ports for PCI Compliance How to Pass PCI Compliance Scans DDoS Protection Using Corero How to Open a Port in Firewalld Secure Your Debian Cloud Server With UFW (Uncomplicated Firewall) How to Open a Port in UFW WP Cerber Security Antispam and Bot Detection Settings