l-n-s / wireguard-install

WireGuard VPN server installer
MIT License
657 stars 166 forks source link

Include ipv6 (when enabled) in the "add peer" script #39

Open edthepurple opened 5 years ago

edthepurple commented 5 years ago

Hi. first of all, amazing script. thank you.

I've manually configured my server with a /64 subnet routed and it's working. but each time that I create a new peer [by relaunching your script] it only adds the peer's assigned ipv4 to the wg0.conf, is it possible to assign an ipv6 each time as well?

I know that it may not be useful for "everyone" so if you could just tell me how to manually edit your script to make it work it'd be really appreciated.