Browse Source

Add first ping to enable tunnel

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

2
wireguard/deploy-wg-clients.sh

@ -24,6 +24,8 @@ PersistentKeepalive = 25" > /etc/wireguard/wg0.conf
systemctl enable wg-quick@wg0.service && systemctl daemon-reload && systemctl start wg-quick@wg0 systemctl enable wg-quick@wg0.service && systemctl daemon-reload && systemctl start wg-quick@wg0
ping -c1 192.168.25.1
echo -n "Clé publique : " echo -n "Clé publique : "
cat /etc/wireguard/keys/public.key cat /etc/wireguard/keys/public.key
exit 0; exit 0;
Loading…
Cancel
Save