1
0
Fork 0

Add comment vor v4 tunnel

This commit is contained in:
Malte Brandy 2020-09-25 12:30:59 +02:00
parent 7cae0dcd13
commit cf21cd0cfe
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -34,6 +34,8 @@ in {
publicKey = wireguard.pub.hera;
allowedIPs = [ "::/0" ];
endpoint = "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
# If v6 is not available:
# endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}";
presharedKeyFile = "/etc/nixos/common/secret/wireguard-psk";
persistentKeepalive = 25;
}];