machines/wireguard: add restart option to peer service
This commit is contained in:
parent
1856a5d45c
commit
2526dd47e3
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ in
|
||||||
|
|
||||||
# Send keepalives every 25 seconds. Important to keep NAT tables alive.
|
# Send keepalives every 25 seconds. Important to keep NAT tables alive.
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
|
|
||||||
|
dynamicEndpointRefreshRestartSeconds = 5;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue