Rollback wireguard to v4
This commit is contained in:
parent
02ba401f7e
commit
bb450642b7
1 changed files with 3 additions and 3 deletions
|
@ -29,10 +29,10 @@ in {
|
||||||
peers = [{
|
peers = [{
|
||||||
publicKey = wireguard.pub.hera;
|
publicKey = wireguard.pub.hera;
|
||||||
allowedIPs = [ "::/0" ];
|
allowedIPs = [ "::/0" ];
|
||||||
endpoint =
|
# endpoint =
|
||||||
"[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
|
# "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}";
|
||||||
# If v6 is not available:
|
# 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";
|
presharedKeyFile = pkgs.privatePath "wireguard/psk";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in a new issue