CentOS 7.2 里iptables防火墙怎么关闭

2026年09月12日 13:50
有2个网友回答
网友(1):

/etc/init.d/iptables stop停止iptables服务 chkconfig iptables off 禁用开机启动 iptables -L查看是否存在iptables规则

网友(2):

service iptables stop

不过centos7 应该是使用的 firewall 不是使用的iptables了