refine forwarding configuration for vpn

This commit is contained in:
Tim Schubert 2022-05-25 22:37:07 +02:00
parent 2c8b80cb2c
commit 4ccbfb5206
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -56,7 +56,8 @@ in
}; };
boot.kernel.sysctl = { boot.kernel.sysctl = {
# Enable forwarding for VPN # Enable forwarding for VPN
"net.ipv6.conf.all.forwarding" = true; "net.ipv6.conf.wg0.forwarding" = true;
"net.ipv6.conf.ens3.forwarding" = true;
}; };
}; };
} }