Home  >  Article  >  Operation and Maintenance  >  How to check if the firewall is turned off in Linux

How to check if the firewall is turned off in Linux

藏色散人
藏色散人Original
2020-03-14 13:39:0712205browse

How to check if the firewall is turned off in Linux

#How to check if the firewall is turned off in Linux?

The detailed steps are as follows:

1. Open the Linux system and enter the desktop, click the [System] option in the menu bar above;

How to check if the firewall is turned off in Linux

##2. In the pop-up menu bar, click [Management], [Firewall] option;

How to check if the firewall is turned off in Linux

3. Enter the firewall interface, enter the user password, and perform security verification. ;

How to check if the firewall is turned off in Linux

4. After connecting to the server, enter the statement 'service iptables status' and press Enter, the firewall status will be displayed;

How to check if the firewall is turned off in Linux

5. Enter the statement 'chkconfig iptables on' to turn on the firewall. Or use the statement ‘chkconfig iptables off’ to turn off the firewall. It needs to be restarted to take effect.

How to check if the firewall is turned off in Linux

Recommended video tutorial for learning Linux:

//m.sbmmt.com/course/list/33.html

The above is the detailed content of How to check if the firewall is turned off in Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn