Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
543400
V2EX  ›  Linux

centos 7 怎么完全关闭防火墙?

  •  
  •   543400 · Jun 6, 2015 · 5335 views
    This topic created in 4168 days ago, the information mentioned may be changed or developed.
    11 replies  •  2015-06-08 09:18:08 +08:00
    xcai
    xcai
    Jun 6, 2015 via Android
    1
    systemctl stop iptables
    anyran
    anyran
    Jun 6, 2015
    2
    systemctl disable firewalld
    lhbc
    lhbc
    Jun 6, 2015
    4
    systemctl mask firewalld.service
    这样 firewalld.service 就被软连接到 /dev/null
    systemd 完全启动不了防火墙
    zts1993
    zts1993
    Jun 6, 2015 via Android
    5
    是firewalld不是iptables吧?
    543400
    543400
    OP
    Jun 6, 2015 via Android
    6
    @zts1993 centOS7变了 用iptables
    543400
    543400
    OP
    Jun 6, 2015 via Android
    7
    @xcai thankyou
    snnn
    snnn
    Jun 7, 2015
    8
    把firewalld直接用yum卸载了先。换回iptables再上来问。
    543400
    543400
    OP
    Jun 7, 2015 via Android
    9
    @snnn thankyou
    blank4me
    blank4me
    Jun 8, 2015
    10
    @543400 你这说反了吧。是CentOS 7改成了firewalld。
    twl007
    twl007
    Jun 8, 2015 via iPhone
    11
    service firewalld stop
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1314 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 21:47 · PVG 05:47 · LAX 13:47 · JFK 16:47
    ♥ Do have faith in what you're doing.