Browse Source

Test with

multiline comment
for commit
pull/1/head
Julien Escario 5 years ago
parent
commit
90b2c993e9
  1. 2
      wireguard/deploy-wg-clients.sh

2
wireguard/deploy-wg-clients.sh

@ -11,7 +11,6 @@ fi
mkdir -p /etc/wireguard/keys
umask 077 && wg genkey > /etc/wireguard/keys/private.key && wg pubkey < /etc/wireguard/keys/private.key > /etc/wireguard/keys/public.key && umask 0022
# Calculate IPv4 and IPv6 address
IP4="10.17.25.$IP"
IP6="fd42:42:42:25"`printf '%.2x\n' $IP`"::"
@ -32,6 +31,7 @@ AllowedIPs = 172.16.5.0/24, fc00:db8:f00:bebe::/64 # OpenVPN Admin tunnel
Endpoint = vpn.altinea.fr:58212
PersistentKeepalive = 25" > /etc/wireguard/vpnaltinea.conf
# Enable and start interface (systemctl needed)
systemctl enable wg-quick@vpnalinea.service && systemctl daemon-reload && systemctl start wg-quick@vpnaltinea

Loading…
Cancel
Save