Route IPv6 traffic via Wireguard

This commit is contained in:
coolneng 2025-04-14 19:21:23 +02:00
parent 56f125040d
commit e970b4b18b
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

View File

@ -87,8 +87,11 @@ in
wireguardPeers = [
{
PublicKey = "GN8lqPBZYOulh6xD4GhkoEWI65HMMCpSxJSH5871YnU=";
AllowedIPs = [ "0.0.0.0/0" ];
Endpoint = "coolneng.duckdns.org:1194";
AllowedIPs = [
"0.0.0.0/0"
"::0"
];
Endpoint = "psydnd.org:1194";
}
];
};
@ -96,8 +99,14 @@ in
matchConfig.Name = "wg0";
linkConfig.ActivationPolicy = "manual";
networkConfig = {
Address = "10.8.0.2/32";
DNS = "10.8.0.1";
Address = [
"10.8.0.2/32"
"fd00::2/128"
];
DNS = [
"10.8.0.1"
"fd00::2"
];
DNSDefaultRoute = true;
};
routingPolicyRules = [