网站首页 > linux / 正文
下面是Linux系统一些常见防火墙操作命令的使用情况介绍:
Centos7防火墙
1) 查看防火墙状态
firewall-cmd --state
2) 停止防火墙
systemctl stop firewalld.service
3) 开启防火墙
systemctl start firewalld.service
4) 禁止firewall开机启动
systemctl disable firewalld.service
Centos6防火墙
1) 查看防火墙状态
service iptables status
2) 停止防火墙
service iptables stop
3) 开启防火墙
service iptables star
4) 查看iptables是否开机启
chkconfig iptables --list
5) 设置iptables开机启动
chkconfig iptables on
6) 设置iptables开机不启动
chkconfig iptables off
了解更多精彩内容
智慧数据,创造价值,就来大数据智工厂,关注吧!
Tags:关闭linux防火墙命令
猜你喜欢
- 2024-11-26 CentOS7 设置防火墙、开放指定端口操作
- 2024-11-26 Linux系统中的防火墙主要有两种
- 2024-11-26 Iptables 教程 – 使用 Linux 防火墙保护 Ubuntu VPS
- 2024-11-26 Centos7版本不能解压*.zip格式文件
- 2024-11-26 什么是linux防火墙?让首批红帽授权认证专家为你详细解答
- 2024-11-26 学习笔记-Linux 防火墙 - Firewall-cmd
- 2024-11-26 Linux防火墙Iptables与Firewalld的学习总结!PDF版可领取
- 2024-11-26 Linux防火墙基础和iptables命令文档,看完终于明白了
- 2024-11-26 linux怎么看防火墙是否开启?删除iptables规则
- 2024-11-26 linux命令-centos7防火墙