Keep nebular connection alive
This commit is contained in:
parent
92422c52da
commit
0c29af017f
3 changed files with 3 additions and 6 deletions
|
|
@ -11,8 +11,8 @@
|
||||||
ips = [ "10.32.54.2/32" ];
|
ips = [ "10.32.54.2/32" ];
|
||||||
peers = [{
|
peers = [{
|
||||||
allowedIPs = [ "10.32.54.0/24" ];
|
allowedIPs = [ "10.32.54.0/24" ];
|
||||||
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
|
|
||||||
endpoint = "${config.constants.domain}:45556";
|
endpoint = "${config.constants.domain}:45556";
|
||||||
|
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
|
||||||
}];
|
}];
|
||||||
privateKeyFile = config.sops.secrets."wireguard/${config.networking.hostName}".path;
|
privateKeyFile = config.sops.secrets."wireguard/${config.networking.hostName}".path;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,9 @@ let hn = config.networking.hostName; in {
|
||||||
ips = [ "10.32.54.3/32" ];
|
ips = [ "10.32.54.3/32" ];
|
||||||
peers = [{
|
peers = [{
|
||||||
allowedIPs = [ "10.32.54.0/24" ];
|
allowedIPs = [ "10.32.54.0/24" ];
|
||||||
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
|
|
||||||
endpoint = "${config.constants.domain}:45556";
|
endpoint = "${config.constants.domain}:45556";
|
||||||
|
persistentKeepalive = 54;
|
||||||
|
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
|
||||||
}];
|
}];
|
||||||
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
|
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,6 @@ let hn = config.networking.hostName; in {
|
||||||
allowedIPs = [ "10.32.54.3/32" ];
|
allowedIPs = [ "10.32.54.3/32" ];
|
||||||
publicKey = "1OA03mqu7SxREAum4UabJKD7hf+foPLu1j0E1N5K508=";
|
publicKey = "1OA03mqu7SxREAum4UabJKD7hf+foPLu1j0E1N5K508=";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
allowedIPs = [ "10.32.54.6/32" ];
|
|
||||||
publicKey = "yR099WK5V11Y6jr5CheXl6SDWPpvUMtvoItlO+JJd24=";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
|
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue