Turn off and turn on the firewall in ubuntu

1、 Turn off ubuntu's firewall##

 ufw disable

2 Turn on the firewall##

 ufw enable

3、 Uninstalled iptables

apt-get remove iptables

4、 The rest of the commands to turn off the firewall in ubuntu##

 iptables -P INPUT ACCEPT
 iptables -P FORWARD ACCEPT
 iptables -P OUTPUT ACCEPT
 iptables -F

Recommended Posts

Turn off and turn on the firewall in ubuntu
The difference between CentOS and Ubuntu in Linux system
The difference between CentOS and Ubuntu
Turn on Wifi on laptop Ubuntu system
Install and configure MySQL on Ubuntu
Install and configure Docker in Ubuntu
Common exceptions and solutions in the use and development of Ubuntu system
Detailed explanation of the installation and use of SSH in the Ubuntu environment
Install the latest Python 3.6 version on Ubuntu
Install Gnome and VNC on Ubuntu Server
Step by step teach you how to open and close the ubuntu firewall
The locate file search command in Ubuntu16.04
Install docker on ubuntu and basic usage
Installation and deployment of Nginx in Ubuntu
Install fonts on Ubuntu and switch default fonts
Install the flat theme latabulous on Ubuntu 16.04
CentOS7 configure static address, turn off firewall
Install NeoVim on Ubuntu: the easiest way
Install and uninstall CUDA and CUDNN on Ubuntu
Deploy python3 and nginx projects on ubuntu18.04
The relationship between Open3D version and Ubuntu
Small tutorial: List the disks on Ubuntu
Disable the TinkPad touch screen in Ubuntu
M5Stack is developed and compiled on ubuntu
Docker those things in the Ubuntu environment
How to modify the hostname on Ubuntu 20.04
Install gsl package in R language on ubuntu
How to install Pycharm and Ipython on Ubuntu 16.04/18.04
How to install and configure NATS on Ubuntu 16.04
Install JDK and configure environment variables on Ubuntu 16.04
How to install and configure Gogs on Ubuntu 18.04
How to install and configure Cyberpanel on Ubuntu 18.04
Solve the problem of installing VMwareTools on Ubuntu 18.04
How to install and secure phpMyAdmin on Ubuntu 16.04
How to install and configure ownCloud on Ubuntu 16.04
How to install and configure ownCloud on Ubuntu 16.04
Install the CPU version of Caffe on Ubuntu
Install and use Git and GitHub on Ubuntu Linux
How to install and configure GitLab on Ubuntu 18.04
How to install and use Docker on Ubuntu 20.04
How to install and configure Ansible on Ubuntu 18.04
The meaning and usage of lists in python
How to install and use Curl on Ubuntu 18.04
How to install and use Composer on Ubuntu 18.04
How to install and use Wine on Ubuntu 18.04
How to open the ubuntu system in win10
How to install and secure phpMyAdmin on Ubuntu 16.04
How to install and configure Elasticsearch on Ubuntu 16.04
Use Ubuntu and windows system in virtual machine
How to install and configure PostGIS on Ubuntu 14.04
How to install and use Composer on Ubuntu 20.04
How to install and use BaasBox on Ubuntu 14.04
How to install and configure VNC on Ubuntu 18.04
How to install and configure Sphinx on Ubuntu 16.04
How to install and configure OrientDB on Ubuntu 14.04
How to install and use PostgreSQL on Ubuntu 16.04
The consequences of uninstalling python in ubuntu, very
The ultimate guide to install gooderp on ubuntu
Introduction to the use of Hanlp in ubuntu
Mount the disk in a directory under Ubuntu 18.04
Installation, configuration and uninstallation of GitLab in Ubuntu19.1