Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

disable firewall ubuntu

sudo ufw status #check if ufw is running
sudo systemctl status ufw #check if ufw is running
sudo ufw disable #disable ufw
sudo systemctl disable ufw #disable ufw
sudo ufw enable #enable ufw
sudo systemctl enable ufw #enable ufw
Source by linuxconfig.org #
 
PREVIOUS NEXT
Tagged: #disable #firewall #ubuntu
ADD COMMENT
Topic
Name
8+1 =