wireguard/home: Hardcode server’s IPv4 address

Some devices (like fuuko) sadly do not have IPv6 connectivity which
makes their connection fail.
nazuna
Simon Bruder 2022-10-15 23:28:33 +02:00
parent aaaf7d3ccc
commit f51bc637da
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ in
{
allowedIPs = [ "10.80.0.0/24" ];
publicKey = peers."${serverHostName}".publicKey;
endpoint = "${serverHostName}.sbruder.de:51820";
#endpoint = "${serverHostName}.sbruder.de:51820"; # not possible because sadly not all devices have IPv6 connectivity
endpoint = "195.201.139.15:51820";
persistentKeepalive = 25;
}
];