Board logo

标题: linux firewalld常用命令 [打印本页]

作者: linda    时间: 2019-9-20 09:32     标题: linux firewalld常用命令

systemctl enable firewalld

systemctl disable firewalld

systemctl start firewalld

systemctl stop firewalld

systemctl status firewalld

firewall-cmd --state

firewall-cmd --list-all

#停止firewall
systemctl stop firewalld.service

#禁止firewall开机启动
systemctl disable firewalld.service

#查看iptabels规则
iptables -L

#查看iptabels chains
iptables -S

-F : Deleting (flushing) all the rules.
-X : Delete chain.

[ 本帖最后由 linda 于 2023-10-26 16:42 编辑 ]




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0