disable ubuntu firewall 1

disable ubuntu firewall

sudo ufw enable
sudo ufw disable

Here is what the above code is Doing:
1. We’re using the sudo command to run the ufw command as root.
2. We’re using the allow command to allow SSH connections.
3. We’re using the allow command to allow HTTP connections.
4. We’re using the allow command to allow HTTPS connections.
5. We’re using the enable command to enable the firewall.
6. We’re using the disable command to disable the firewall.

Similar Posts