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

9 lines
257 B
Plaintext

#!/usr/bin/env -S nft -f
table inet br0_inet {
chain postrouting {
type nat hook postrouting priority 100;
iif br0 oif { {{ [ansible_default_ipv4.interface, ansible_default_ipv6.interface] | unique | join(", ") }} } masquerade;
}
}