-
Member
How to stop and disable Firewalled in CentOS 7
Well many of you might not know, but you can disable the firewalled permanently or temporarily well in this write up we will first discuss how to stop the firewall.
How to stop firewalled
STEP 1.Login to SSH
STEP 2. Check the firewalled status
If the firewall is running, you will see a green circle before firewalled. service and the two lines below the Active : active: running The loaded row states whether the services are enabled to start upon reboot.
You can see expect Active: Inactive instead:
systemctl is-active firewalld. service
Step 3: Stop firewall for the current session:
systemctl stop firewalld.service
Step 4: Confirm Firewalld is inactive
systemctl status firewalld
You should see a white circle (○) before firewalld. service and Active: inactive (dead).
Step 5: Start firewalld once desired
systemctl start firewalld
Now Let us have a look at how to disable the firewall
Step 1: First of all, check Firewalld status:
systemctl status firewalld
The Loaded row states whether the service is enabled to start upon the reboot.
Step 2: Disable firewalled from starting at boot:
systemctl disable firewalld
Step 3. Confirm Firewalld is disabled:
systemctl status firewalld
Step 4: Enable Firewalld once Desired
systemctl enable firewalld
Hope this Writeup was beneficial
-
Member
The steps are easy to understand, thank you for sharing it. Saved it for later.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Protected by : ZB
BLOCK & StopForumSpam
Bookmarks