摘要: 一,清空一个链下面的规则 清空前: [root@fedora ~]# nft -a list chain inet firewalld filter_IN_FedoraWorkstation_allow table inet firewalld { chain filter_IN_FedoraWor 阅读全文
posted @ 2024-09-03 18:53 刘宏缔的架构森林 阅读(646) 评论(0) 推荐(0)
摘要: 一,模块的变化: centos6: [lhdop@base2 ~]$ lsmod | grep table iptable_filter 2793 1 ip_tables 17831 1 iptable_filter fedora40 [liuhongdi@fedora ~]$ lsmod | gr 阅读全文
posted @ 2024-09-03 17:43 刘宏缔的架构森林 阅读(184) 评论(0) 推荐(0)
摘要: 一,nftables的动作 list 查看 create 创建 add 添加 insert 插入 replace 替换 delete 删除 flush 清空 说明: create和add的区别: 如果指定的内容已经存在,add 不会返回错误,而 create 会返回错误 add和insert的区别: 阅读全文
posted @ 2024-09-03 15:45 刘宏缔的架构森林 阅读(141) 评论(0) 推荐(0)