linux关闭防火墙命令

简介: linux关闭防火墙命令

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
相关文章
|
19小时前
|
Linux
Linux系统ps命令
这些是一些常见的 `ps`命令选项和用法,用于查看系统中运行的进程及其相关信息。您可以根据需要选择合适的选项以满足您的任务要求。
4 0
|
1天前
|
存储 Linux Shell
linux课程第二课------命令的简单的介绍2
linux课程第二课------命令的简单的介绍2
|
1天前
|
Linux C语言 数据安全/隐私保护
linux课程第二课------命令的简单的介绍3
linux课程第二课------命令的简单的介绍3
|
1天前
|
监控 Unix Linux
如何使用 Linux less 命令?
【4月更文挑战第25天】
8 1
如何使用 Linux less 命令?
|
1天前
|
JSON 网络协议 Linux
Linux ip命令:网络的瑞士军刀
【4月更文挑战第25天】
7 1
|
1天前
|
安全 Linux C语言
linux课程第一课------命令的简单的介绍
linux课程第一课------命令的简单的介绍
|
1天前
|
SQL 缓存 监控
|
1天前
|
前端开发 Linux Shell
|
1天前
|
网络协议 Linux Shell
|
1天前
|
NoSQL Linux Shell
2.Docker常用命令(linux)
2.Docker常用命令(linux)