Add comment vor v4 tunnel
This commit is contained in:
parent
7cae0dcd13
commit
cf21cd0cfe
|
@ -34,6 +34,8 @@ in {
|
||||||
publicKey = wireguard.pub.hera;
|
publicKey = wireguard.pub.hera;
|
||||||
allowedIPs = [ "::/0" ];
|
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}";
|
||||||
presharedKeyFile = "/etc/nixos/common/secret/wireguard-psk";
|
presharedKeyFile = "/etc/nixos/common/secret/wireguard-psk";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in a new issue