This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14694|Reply: 1

[linux] CentOS Firewall is turned on, off, and checked the status

[Copy link]
Posted on 3/26/2018 10:47:00 AM | | |
Turn off the virtual machine firewall:

Close command: service iptables stop

Permanently turn off the firewall: chkconfig iptables off

Run both commands at the same time, and check the firewall shutdown status after the execution is complete
service iptables status

1 Turn off the firewall ----- service iptables stop
2 Start the firewall ----- service iptables start
3 Restart the firewall ----- service iptables restart
4 Check the firewall status --service iptables status
5 Permanently turn off the firewall --chkconfig iptables off
6 Enable --chkconfig iptables on after permanently shutdown




Previous:Tutorial on installing Java virtual machines under CentOS
Next:Conversion between Windows, Unix, and Mac formats in Notepad++
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com