linux关闭方防火墙的命令
我的系统是Mint19.3首先需要安装firewalld工具sudo apt install firewalld安装好之后下面是该工具的具体一些使用:1.启动防火墙systemctl start firewalld2.禁用防火墙systemctl stop firewalld3.设置开机启动systemctl enable firewalld4.停止并禁用开机启动sytemctl disable
·
我的系统是Mint19.3
首先需要安装firewalld工具
sudo apt install firewalld
安装好之后下面是该工具的具体一些使用:
1.启动防火墙
systemctl start firewalld
2.禁用防火墙
systemctl stop firewalld
3.设置开机启动
systemctl enable firewalld
4.停止并禁用开机启动
sytemctl disable firewalld
5.重启防火墙
firewall-cmd --reload
6.查看状态
systemctl status firewalld或者 firewall-cmd --state
7.查看版本
firewall-cmd --version
8.查看帮助
firewall-cmd --help

更多推荐
所有评论(0)