admin主机 发表于 2024-6-11 14:29:57

centos7.6关闭防火墙命令




centos7.6关闭防火墙命令
在CentOS 7.6中,您可以使用以下命令来停止并禁用防火墙,这里以默认的firewalld为例:

停止防火墙服务:

systemctl stop firewalld禁用防火墙开机启动:
systemctl disable firewalld检查防火墙状态:
systemctl status firewalld




如果您的系统使用的是旧的iptables服务,则相应的命令会有所不同:
停止iptables服务:
service iptables stop

禁用iptables服务:
chkconfig iptables off



页: [1]
查看完整版本: centos7.6关闭防火墙命令