RHEL 6、7 防火墙操作

 时间:2026-04-23 09:32:11

1、   1、临时状态、永久查询

临时状态查询:

 service iptables status

 service ip6tables status

永久状态查询:

 chkconfig --list | grep iptables

RHEL 6、7 防火墙操作

RHEL 6、7 防火墙操作

2、2、重启、临时关闭、永久关闭   

临时关闭、启动:

 service iptables stop /start

 service ip6tables stop /start

永久关闭、启动:

 chkconfig --level 2345 iptables off /on

 chkconfig --level 2345 ip6tables off/on

RHEL 6、7 防火墙操作

1、    1、临时状态、永久查询

临时状态查看:

 systemctl status firewalld

永久状态查看:

 systemctl list-unit-files | grep firewalld

RHEL 6、7 防火墙操作

RHEL 6、7 防火墙操作

2、2、重启、临时关闭、永久关闭 

临时重启:

 systemctl stop firewalld

永久关闭或开启:

 systemctl disable firewalld

RHEL 6、7 防火墙操作

RHEL 6、7 防火墙操作

  • 怎样设置系统启动失败,电脑自动重新启动?
  • 给MacBook装win7遇到的坑
  • HP Color Pro CP5525系列partial clean方法
  • windows远程服务器如何开启剪切板功能
  • 用注册表来为IE添加信任站点
  • 热门搜索
    脂肪肝怎么治 手麻怎么办 怎么找人 检查报告怎么写 六线谱怎么看 感冒头晕怎么办 微信拍一拍怎么玩 win10怎么更新 输入法不见了怎么恢复 荣威rx5怎么样