Linux distribution CentOS6.5 Disabling firewall steps

Source: Internet
Author: User

address of this article http://comexchan.cnblogs.com/ , respect for intellectual property rights, reproduced please specify the source, thank you!

Note: This operation requires root permission to execute

First, query the firewall state:

Service Iptables Status

The information shown indicates that the current firewall is open

Execute the following command to turn off the firewall:

Service Iptables Stop

Execute the following command again to view the firewall status:

Service Iptables Status

System tip: Iptables:firewall is not running. That means stop succeeding.

Finally turn off the firewall on self-start:

Chkconfig iptables off

Check that power on startup is off successfully:

Chkconfig--list iptables

Such as. All off means shutdown is successful

Linux distribution CentOS6.5 Disabling firewall steps

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.