Route IPv6 traffic via Wireguard
This commit is contained in:
parent
56f125040d
commit
e970b4b18b
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user