1
0
Fork 0

Improve wg routing

This commit is contained in:
Malte Brandy 2018-07-27 15:14:31 +02:00
parent 31c3b1f515
commit 0fa62d9762
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -25,8 +25,9 @@ networking = {
{
publicKey = wireguard.pub.hera;
allowedIPs = [ "${hosts.hera-wg}/128" ];
endpoint = "hera.m-0.eu:${builtins.toString wireguard.port}";
endpoint = "${hosts.hera-v4}:${builtins.toString wireguard.port}";
presharedKeyFile = "/etc/nixos/common/secret/wireguard-psk";
persistentKeepalive = 25;
}
];
};