angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
7.48k stars 1.26k forks source link

Add headless support - 2th approach 2024-03 #500

Open lony opened 3 months ago

lony commented 3 months ago

Hello @angristan

As the PR here, https://github.com/angristan/wireguard-install/pull/120 seemed stalled, and I really think the feature is nice to have. I did rebase the existing code base and adjusted it to the latest version of the script.

I tried to follow your guidelines and did test against the formatting. As there was a PR already I did not open an issue first as this seems redundant, please say something if this isn't the case.

Hope this could be solved, thanks for your nice work.