CentOS off Firewall Open iptables

Source: Internet
Author: User
Tags centos iptables

Today want to try to start the boot Nginx, and then in the Iptables opened a port, set up a boot iptables, found that always can not be effective, after query, find a way to solve the problem, That is to close the firewall open iptables (Note: refer to http://www.cnblogs.com/xuezhigu/p/6652835.html).

First make sure you install the Iptables service and how to install it. With Yum:yum install iptables, turn on boot: chkconfig iptables on, turn on boot: chkconfig iptable Enable, close Firewall service: Systemctl Stop Fir Ewalld.service, turn off boot

: Systemctl disable Firewalld.service, so it's done.

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.