zoukankan      html  css  js  c++  java
  • CentOS 7.0 关闭firewalld防火墙指令 及更换Iptables防火墙

    CentOS 7.0 关闭firewalld防火墙指令 及更换Iptables防火墙

    时间:2014-10-13 19:03:48  作者:哎丫丫  来源:哎丫丫数码网  查看:11761  评论:2
     
     
     

    service firewalld stop

    1. Disable Firewalld Service.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl mask firewalld

    2. Stop Firewalld Service.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl stop firewalld

    3. Install iptables service related packages.

    [root@rhel-centos7-tejas-barot-linux ~]# yum -y install iptables-services

    4. Make sure service starts at boot:

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl enable iptables

    # If you do not want ip6tables, You can skip following command.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl enable ip6tables

    5. Now, Finally Let’s start the iptables services.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl start iptables

    # If you do not want ip6tables, You can skip following command.

    [root@rhel-centos7-tejas-barot-linux ~]# systemctl start ip6tables

    Firewalld Service is now disabled and stop, You can use iptables.

  • 相关阅读:
    Tapestry5 Setup with HTML5 and jQuery
    CSS学习六:布局剖析
    CSS学习三:表格,表单,超链接和鼠标等。
    CSS+DIV实战
    一到关于c++继承和多态的题
    一道有关指针的题
    小程序,嘿嘿
    《犯罪心理》名言部分
    ethereal与wincap
    并发编程之:Lock
  • 原文地址:https://www.cnblogs.com/archoncap/p/5403016.html
Copyright © 2011-2022 走看看