CentOS Linux off iptables Firewall (firewall in Linux is called iptables)

Source: Internet
Author: User

The firewall under the Linux server is iptablesComponents, the Iptables firewall will block some of the necessary connections when installing some software.

Viewing iptables Status: Service iptables status
Iptables boot: On: Chkconfig iptables on off: Chkconfig iptables offiptables shutdown: On: Service iptables start Close: Service iptables stop
Restart Firewall Services: Service iptables restart

Temporarily shut down the firewall

First perform a temporary shutdown of the firewall operation, before this operation we need to go to the root permission to do the following, if you do not use root permission, will prompt the error.

Shutting down the firewall must be under root authority

If it is not under root, enter the SU command, enter the root password, enter the service iptables stop after login to the interface under root

Of course before closing we need to see if the firewall is turned on and the command is similar to the close command, except that the stop is replaced with the status : Service iptables status

permanently shut down the firewall

The above operation only temporarily shuts down the firewall, when your computer restarts again will open, if you want to permanently shut down the firewall, you can try the following method.

Open the terminal, enter chkconfig iptables off under root permission to permanently shut down the firewall, of course, we need to restart to take effect.




CentOS Linux off iptables Firewall (firewall in Linux is called iptables)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.