1. Service method Check the firewall status:
iptables: No firewall running. Recommended tutorial: Linux tutorial 2. iptables method First enter the init.d directory, the command is as follows:
Then check the firewall status:
Content extension: The firewall configuration of CentOS7 is very different from previous versions. The default firewall of CentOS7 is firewall, which is different from the iptables used in previous versions. 1. Turn off the firewall:
2. Enable the firewall:
3. Turn off the startup:
4. Start the boot process:
This is the end of this article about the example method of checking whether the firewall is turned off in Linux. For more information about how to check whether the firewall is turned off in Linux, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: JavaScript ECharts Usage Explanation
>>: Summary of MySQL lock knowledge points
This article shares the installation tutorial of ...
[ Linux installation of Tomcat8 ] Uninstall Tomca...
Linux often encounters situations such as adding ...
The replace statement is generally similar to ins...
Environment Preparation Before starting any opera...
Preface Nodejs is a server-side language. During ...
What I bring to you today is to use jQuery to imp...
Today I learned a new CSS special effect, the wav...
Table of contents 1. One-way value transfer betwe...
This article describes how to use the local yum s...
1. Download the repository image docker pull regi...
Table of contents 1. Location Object 1. URL 2. Pr...
What is keepalive? In normal development, some co...
Table of contents Nginx proxies two socket.io ser...
First, check whether the hard disk device has a d...