How does linux turn off the firewall permanently
Linux how to permanently turn off the firewall, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
In linux, you can use the chkconfig command to permanently turn off the firewall, which is used to check the various services of the setting system. When the setting parameter is "off", it means that the specified service will not start after restart, and the syntax is "chkconfig iptables off".
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How does linux turn off the firewall permanently
The Linux chkconfig command is used to check and set up various services of the system.
This is a program developed by Red Hat following the GPL rules, which can query which system services are performed by the operating system at each execution level, including various resident services.
Grammar
Chkconfig [--add] [--del] [--list] [system Services] or chkconfig [--level] [system Services] [on/off/reset]
Parameters:
-- add adds the specified system service so that the chkconfig instruction can manage it, and at the same time adds relevant data to the narrative file started by the system.
-- del deletes the specified system service, is no longer managed by the chkconfig instruction, and deletes the relevant data in the narrative file started by the system.
-- level specifies at which execution level the read system service will be turned on or off.
It is in effect permanently and will not be restored after restart.
Enable: chkconfig iptables on
Turn off: chkconfig iptables off
Examples are as follows:
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.