Linux关闭防火墙命令
时间:2021-06-05 17:51:23
收藏:0
阅读:0
1:查看防火状态
systemctl status firewalld
service iptables status
2:暂时关闭防火墙
systemctl stop firewalld
service iptables stop
3:永久关闭防火墙
systemctl disable firewalld
chkconfig iptables off
4:重启防火墙
systemctl enable firewalld
service iptables restart
转载地址:https://blog.csdn.net/baidu_36124158/article/details/90603496
评论(0)