From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: Nftables 2 WAN Date: Sun, 16 Aug 2020 20:40:41 +0200 Message-ID: <20200816184041.GA1545@salvia> References: <6bd2a7b2-4244-3695-4b62-64957bfd71c5@tootai.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Daniel Cc: Netfilter list On Fri, Aug 14, 2020 at 11:26:31PM +0200, Daniel wrote: [...] > UPDATE: I discover that the traffic I see on interface gretunnel is only the > local generated one which is going out with the eth0 ipv6 address. I modify > mangle table which now looks like > > # nft table mangle ip6 > # > $fwtables delete table ip6 mangle 2>/dev/null || true > $fwtables add table ip6 mangle 2>/dev/null || true > $fwtables add chain ip6 mangle output "{ type nat hook output priority -199 > ; policy accept ; }" Why chain type 'nat' ? Probably you meant to specify here 'mangle'. NAT chains only see the first packet of flows.