From 73d27b7275b155fa6572a5ea23717ff2f4ee8dc9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 5 Mar 2023 11:47:52 +0100 Subject: ... --- hosts/vidhar/network/ruleset.nft | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts/vidhar/network') diff --git a/hosts/vidhar/network/ruleset.nft b/hosts/vidhar/network/ruleset.nft index 37c1cf55..47a55fcc 100644 --- a/hosts/vidhar/network/ruleset.nft +++ b/hosts/vidhar/network/ruleset.nft @@ -254,15 +254,17 @@ table inet filter { } } -table ip nat { +table inet nat { counter dsl-nat {} + counter container-nat {} chain postrouting { type nat hook postrouting priority srcnat policy accept - oifname dsl counter name dsl-nat masquerade + meta nfproto ipv4 oifname dsl counter name dsl-nat masquerade + iifname ve-* oifname dsl counter name container-nat masquerade } } -- cgit v1.2.3