wireguard/home: Hardcode server’s IPv4 address

Some devices (like fuuko) sadly do not have IPv6 connectivity which
makes their connection fail.
This commit is contained in:
Simon Bruder 2022-10-15 23:28:33 +02:00
parent aaaf7d3ccc
commit f51bc637da
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

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;
}
];