ansible-edda/playbooks/filesystem/valkyrie/usr/local/sbin/post-up-wg0-ipv4.nft.j2

9 lines
193 B
Django/Jinja

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