Old-materusPC & materusPC: wireguard keep-alive

This commit is contained in:
Mateusz Słodkowicz 2024-09-21 11:07:57 +02:00
parent 5b84ce4c5d
commit 6bb1330d70
Signed by: materus
SSH Key Fingerprint: SHA256:rzVduzTiiszuYfLPYD0SDZV+g8lxhpcRgpbOZA1X0Uo
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@
"wireguard-peer.${materusArg.wireguard.pubKeys.valkyrie}" = { "wireguard-peer.${materusArg.wireguard.pubKeys.valkyrie}" = {
endpoint = "${materusArg.ips.valkyrie}:${materusArg.wireguard.port}"; endpoint = "${materusArg.ips.valkyrie}:${materusArg.wireguard.port}";
allowed-ips = "${materusArg.ip-masks.wireguard.general};"; allowed-ips = "${materusArg.ip-masks.wireguard.general};";
persistent-keepalive = "20";
}; };
ipv4 = { ipv4 = {
address1 = "${materusArg.ips.wireguard.Old-materusPC}/23"; address1 = "${materusArg.ips.wireguard.Old-materusPC}/23";

View File

@ -54,6 +54,7 @@
"wireguard-peer.${materusArg.wireguard.pubKeys.valkyrie}" = { "wireguard-peer.${materusArg.wireguard.pubKeys.valkyrie}" = {
endpoint = "${materusArg.ips.valkyrie}:${materusArg.wireguard.port}"; endpoint = "${materusArg.ips.valkyrie}:${materusArg.wireguard.port}";
allowed-ips = "${materusArg.ip-masks.wireguard.general};"; allowed-ips = "${materusArg.ip-masks.wireguard.general};";
persistent-keepalive = "20";
}; };
ipv4 = { ipv4 = {
address1 = "${materusArg.ips.wireguard.materusPC}/23"; address1 = "${materusArg.ips.wireguard.materusPC}/23";