We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP_subject_alt_name
If an IPv6 address is used a wireguard endpoint IP_subject_alt_name address, the configuration template file will generate a bad conf file.
conf
Specifically, the template will generate something like this:
... AllowedIPs = 0.0.0.0/0,::/0 Endpoint = 2600:3c01::f03c:91ff:fedf:3b2a:51820
To be correct, the IPv6 address needs square brackets around it, like this:
... AllowedIPs = 0.0.0.0/0,::/0 Endpoint = [2600:3c01::f03c:91ff:fedf:3b2a]:51820
So different templates are needed for IPv6 and IPv4/DNS-name endpoint addresses.
If someone can point out the right way to do that with ansible/jinja, I'd be happy to make and test a PR!
The text was updated successfully, but these errors were encountered:
Using ipwrap should help
Sorry, something went wrong.
No branches or pull requests
If an IPv6 address is used a wireguard endpoint
IP_subject_alt_name
address, the configuration template file will generate a badconf
file.Specifically, the template will generate something like this:
To be correct, the IPv6 address needs square brackets around it, like this:
So different templates are needed for IPv6 and IPv4/DNS-name endpoint addresses.
If someone can point out the right way to do that with ansible/jinja, I'd be happy to make and test a PR!
The text was updated successfully, but these errors were encountered: