+ Post New Thread
Results 1 to 2 of 2

Thread: How to stop and disable Firewalled in CentOS 7

  1. #1
    Member hostitsmart's Avatar
    Join Date
    Jan 2020
    Location
    Texas, USA
    Posts
    84

    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

  2. #2
    The steps are easy to understand, thank you for sharing it. Saved it for later.

+ Post New Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam