#!/usr/bin/env -S nft -f table ip wg0_ipv4 { chain postrouting { type nat hook postrouting priority 100; iif wg0 oif {{ ethx }} masquerade; } }