ansible-roles/vpn/bridge/templates/post-up-br0-inet.nft

9 lines
257 B
Plaintext
Raw Normal View History

2022-12-20 19:47:11 +01:00
#!/usr/bin/env -S nft -f
table inet br0_inet {
2023-07-27 23:07:45 +02:00
chain postrouting {
type nat hook postrouting priority 100;
iif br0 oif { {{ [ansible_default_ipv4.interface, ansible_default_ipv6.interface] | unique | join(", ") }} } masquerade;
}
2022-12-20 19:47:11 +01:00
}