iptables 非常熟悉(得益于和 gfw 斗智斗勇),但是现在很多发行版和固件都默认 nftables 里,所以问问论坛里的老铁们,有没有推荐的 nftables 教程?
2 qazwsxkevin 299 天前 iptables 不是经常网维用,个把月回头还是要回头查网,查资料的,我升级 linux 系统后标配 nftables ,虽然这些规则逻辑就是那样,我没有去死记,或者找资料学习(死记) nftables ,现在全交给 GPT 两者互转,或者解释。。。</br> 最好的文档应该是 man nftables... |
![]() | 3 yyzh 299 天前 via Android 至少 ubuntu 24.10 能正常直接用 iptables 命令 https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_iptables_to_nftables |
![]() | 4 ysc3839 299 天前 via Android 用 firewalld 等前端吧 |
![]() | 5 love4taylor PRO iptables-nft 完事( |
![]() | 6 billytom 299 天前 这个教程就是 chatgpt ,你 iptables 厉害的话,叫 gpt 转还一下便是,so easy |
![]() | 7 RobberPhex 299 天前 我觉得从目前来说,直接用 iptables-nft ( iptables 命令行,nftables 内核)就可以。 第一是 iptables 命令行几乎是 100%兼容 第二是,目前也没有要依赖 nftables 新特性 所以还是依赖 iptables 命令行就好。 话说回来,我 iptables 能力提升最多的时候是自己搞 iptables 网络的时候,各种 iptables debug 方式、各种模块的使用。 我觉得 nftables 的话,应该也是类似的思路: 先知道包路径、然后知道 debug 、然后几个典型 case 逐步深入。 |
![]() | 8 titanium98118 299 天前 ![]() |
10 nkcfc 298 天前 via Android nft 可以直接支持网桥。 |