Browse Source

Added server setup instructions

pull/1/head
Julien Escario 4 years ago
parent
commit
d054855bea
  1. 6
      wireguard/deploy-wg-clients.sh

6
wireguard/deploy-wg-clients.sh

@ -38,6 +38,12 @@ echo -n "Public key : "
cat /etc/wireguard/keys/public.key
echo "Now you should read https://wiki.altinea.fr/doku.php/wireguard#cote_concentrateur_wireguard"
echo ""
echo "[Peer]"
echo "# "`hostname -f`
echo -n "PublicKey"
cat /etc/wireguard/keys/public.key
echo "AllowedIPs = $IP4/32, $IP6/64"
read -n1 -r -p "Press space only AFTER configuration is done ..."
# Enable and start interface (systemctl needed)

Loading…
Cancel
Save