diff --git a/config/init/common/lxc-net.in b/config/init/common/lxc-net.in index efee9b96f..e9ab88890 100755 --- a/config/init/common/lxc-net.in +++ b/config/init/common/lxc-net.in @@ -92,7 +92,7 @@ start_nftables() { add table ip6 lxc; flush table ip6 lxc; add chain ip6 lxc postrouting { type nat hook postrouting priority 100; }; -add rule ip6 lxc postrouting ip saddr ${LXC_IPV6_NETWORK} ip daddr != ${LXC_IPV6_NETWORK} counter masquerade; +add rule ip6 lxc postrouting ip6 saddr ${LXC_IPV6_NETWORK} ip6 daddr != ${LXC_IPV6_NETWORK} counter masquerade; " fi NFT_RULESET="${NFT_RULESET};