From 5f249182b7cbbe5dc4a8829448d55c77d2aea54b Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Thu, 23 Apr 2020 17:44:38 +0200 Subject: [PATCH] Add first ping to activate interface keepalive --- wireguard/deploy-wg-clients.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard/deploy-wg-clients.sh b/wireguard/deploy-wg-clients.sh index 28d2b9c..d5be915 100755 --- a/wireguard/deploy-wg-clients.sh +++ b/wireguard/deploy-wg-clients.sh @@ -21,6 +21,7 @@ Address = $IP4/32 Address = $IP6/64 SaveConfig = false PostUp = wg set %i private-key /etc/wireguard/keys/private.key +PostUp = ping -c1 10.17.25.1 [Peer] PublicKey = iu3I09FtiVDIOuiU83JvpfJkg4yiCxolqcFsXbz5Ixc=