summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/network/ruleset.nft6
1 files changed, 4 insertions, 2 deletions
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 {
254 } 254 }
255} 255}
256 256
257table ip nat { 257table inet nat {
258 counter dsl-nat {} 258 counter dsl-nat {}
259 counter container-nat {}
259 260
260 chain postrouting { 261 chain postrouting {
261 type nat hook postrouting priority srcnat 262 type nat hook postrouting priority srcnat
262 policy accept 263 policy accept
263 264
264 265
265 oifname dsl counter name dsl-nat masquerade 266 meta nfproto ipv4 oifname dsl counter name dsl-nat masquerade
267 iifname ve-* oifname dsl counter name container-nat masquerade
266 } 268 }
267} 269}
268 270