diff --git a/templates/add_client.sh.j2 b/templates/add_client.sh.j2 index af624cc..906bc7a 100644 --- a/templates/add_client.sh.j2 +++ b/templates/add_client.sh.j2 @@ -25,6 +25,8 @@ wg-quick down wg0 mv /etc/wireguard/wg0-temp.conf /etc/wireguard/wg0.conf wg-quick up wg0 +mkdir /etc/wireguard/client + # generate client config file echo "[Interface] Address = $IP/24