linux的防火墙

关闭防火墙:

systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)

猜你喜欢

转载自www.cnblogs.com/coder-lzh/p/8968469.html