1
0
Fork 0

Rollback wireguard to v4

This commit is contained in:
Malte Brandy 2020-12-12 23:31:34 +01:00
parent 02ba401f7e
commit bb450642b7
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -29,10 +29,10 @@ in {
peers = [{
publicKey = wireguard.pub.hera;
allowedIPs = [ "::/0" ];
endpoint =
"[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
# endpoint =
# "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
# If v6 is not available:
# endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}";
endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}";
presharedKeyFile = pkgs.privatePath "wireguard/psk";
persistentKeepalive = 25;
}];