<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nftables on I'm OWenT</title><link>//owent.net/tags/nftables.html</link><description>Recent content in Nftables on I'm OWenT</description><generator>Hugo</generator><language>zh-cn</language><copyright>&lt;a rel="license" href="https://github.com/owent/blog-hugo/blob/master/LICENSE.md"&gt;&lt;img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /&gt;&lt;/a&gt;</copyright><lastBuildDate>Mon, 03 Oct 2022 21:23:45 +0000</lastBuildDate><atom:link href="//owent.net/tags/nftables/index.xml" rel="self" type="application/rss+xml"/><item><title>又开新坑之 coredns 插件: nftables和filter</title><link>//owent.net/2022/2210.html</link><pubDate>Mon, 03 Oct 2022 21:23:45 +0000</pubDate><guid>//owent.net/2022/2210.html</guid><description>&lt;h2 id="背景"&gt;背景&lt;/h2&gt;&#10;&lt;p&gt;传说中的下一代 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 的 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 已经出来了好长时间了。现在主流发行版的内核也都已经更新到了对 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 支持足够好的版本。&#10;在2年多前我也初步体验过了 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; ，当时写了个 &lt;a href="https://owent.net/2020/2002.html"&gt;《nftables初体验》&lt;/a&gt; 。并且开始使用 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 来实现对家里软路由的管理。&#10;而去年的时候，我也尝试用 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 实现了双拨（详见: &lt;a href="https://owent.net/2021/2104.html"&gt;《折腾一下nftables下的双拨》&lt;/a&gt;）并且可以搭配TPROXY透明代理使用。&lt;/p&gt;</description></item><item><title>nftables初体验</title><link>//owent.net/2020/2002.html</link><pubDate>Mon, 10 Feb 2020 17:12:00 +0000</pubDate><guid>//owent.net/2020/2002.html</guid><description>&lt;h2 id="前言"&gt;前言&lt;/h2&gt;&#10;&lt;p&gt;之前耳闻 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 是下一代 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 。前段时间配了一台主机，折腾成家里的软路由。就一并来尝鲜一系列新东西，其中就包括 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 。&lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 和 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 、&lt;a href="http://ebtables.netfilter.org/"&gt;ebtables&lt;/a&gt; 等一样，都是对底层 xtables 的封装，目前看来 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 比 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 更简洁易用，更易读，更容易理解，扩展性和也更好。但是目前各个发行版中对 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 的支持还比较参差不齐，导致 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 很多功能比 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; 还是有所缺失，所以个人感觉短期内还是替代不了 &lt;a href="https://nftables.org/projects/iptables/index.html"&gt;iptables&lt;/a&gt; （比如 tproxy 功能需要 linux kernel 4.19+， 而即便是 &lt;a href="https://www.centos.org/"&gt;CentOS 8&lt;/a&gt; 的内核版本也只是 4.18 ，所以都不支持 ）。 &lt;a href="https://nftables.org/projects/nftables/index.html"&gt;nftables&lt;/a&gt; 所支持的功能列表及所以来的内核版本和内核模块可以在这里找到 &lt;a href="https://wiki.nftables.org/wiki-nftables/index.php/Supported_features_compared_to_xtables"&gt;https://wiki.nftables.org/wiki-nftables/index.php/Supported_features_compared_to_xtables&lt;/a&gt; 。&lt;/p&gt;</description></item></channel></rss>