Linux关闭防火墙命令

Linux关闭防火墙命令

问题:老是关闭防火墙太麻烦,所以选择彻底关闭防火墙,发现每次都记不住命令!

查看防火状态

systemctl status firewalld

service  iptables status

暂时关闭防火墙

systemctl stop firewalld

service  iptables stop

永久关闭防火墙

systemctl disable firewalld

chkconfig iptables off

重启防火墙

systemctl enable firewalld

service iptables restart 

赏

   转载规则


《Linux关闭防火墙命令》 由 bill 采用 知识共享署名 4.0 国际许可协议 进行许可。
 上一篇
使用hexo搭建github博客 使用hexo搭建github博客
使用hexo搭建github博客我的博客源代码地址大家可以直接star&fork我的博客源代码:https://github.com/billbliu/hexo-matery-modified,然后改改配置就可以写博客。 为了减小源
2021-03-11
下一篇 
ubuntu18.04 redis安装配置 ubuntu18.04 redis安装配置
Redis 安装Redis是一款内存键值存储,以其灵活性,性能和广泛的语言支持而闻名。本教程将演示如何在Ubuntu 18.04服务器上安装和配置Redis。主要内容包括: 安装 Redis Redis 配置 Redis 控制 一、安装
2021-03-11
  目录