Browse Source

Add first ping to activate interface keepalive

pull/1/head
Julien Escario 5 years ago
parent
commit
5f249182b7
  1. 1
      wireguard/deploy-wg-clients.sh

1
wireguard/deploy-wg-clients.sh

@ -21,6 +21,7 @@ Address = $IP4/32
Address = $IP6/64 Address = $IP6/64
SaveConfig = false SaveConfig = false
PostUp = wg set %i private-key /etc/wireguard/keys/private.key PostUp = wg set %i private-key /etc/wireguard/keys/private.key
PostUp = ping -c1 10.17.25.1
[Peer] [Peer]
PublicKey = iu3I09FtiVDIOuiU83JvpfJkg4yiCxolqcFsXbz5Ixc= PublicKey = iu3I09FtiVDIOuiU83JvpfJkg4yiCxolqcFsXbz5Ixc=

Loading…
Cancel
Save