Answers for "linux disable firewall"

2

linux disable firewall

# Check status, stop and disable ufw (Ubuntu) or Firewalld (CentOS)
# ufw instructions lower
# enable instructions included at the bottom

#check if Firewalld is running:
sudo systemctl status firewalld

#Stop firewalld
sudo systemctl stop firewalld

#disable firewalld
sudo systemctl disable firewalld


#check if ufw is running 
sudo ufw status 

or

sudo systemctl status ufw

#stop the ufw on linux
sudo ufw disable

#disable ufw
sudo systemctl disable ufw

------------------
#enable firewalld
sudo systemctl enable firewalld

#start firewalld
sudo systemctl start firewalld
------------------
#enable ufw
sudo ufw enable

#start ufw
systemctl start ufw
Posted by: Guest on July-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language