Linux想到就记记的常用命令

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  

猜你喜欢

转载自blog.csdn.net/a34651714/article/details/102757520