You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] Wireguard template auto tunnel provisioning breaks using IPV6 #721
On step six after clicking on save and continue the template is populated with IPV4 instead of IPV6.
If you change the setting to IPV6 the address field is zeroed out and if you put the same thing back in that field that was there before changing to IPV6 you get an error after clicking save.
Invalid configuration triggered by "#/interfaces/0", validator says:
{'type': 'wireguard', 'private_key': '{{pvt_key_6fdfa88ac4e546c89c5cf8df22a1a0f1}}', 'port': 51820, 'mtu': 1420, 'nohostroute': False, 'fwmark': '', 'ip6prefix': [], 'addresses': [{'proto': 'static', 'family': 'ipv6', 'address': '{{ip_address_6fdfa88ac4e546c89c5cf8df22a1a0f1}}', 'mask': 128}], 'name': 'wg0', 'network': ''} is not valid under any of the given schemas
Expected behavior is that Autoconfigure should determine that the IPAM is IPV6 not IPV4 and accept the replacement var as is.
changed the title [-]Wireguard template auto tunnel provisioning breaks using IPV6[/-][+][bug] Wireguard template auto tunnel provisioning breaks using IPV6[/+]on Dec 9, 2022
Thank you for opening PR #1255 to address this issue!
GitHub did not allow the bot to assign this issue to you automatically, because you are not yet an organization member and have not previously commented on this issue.
To get assigned, please comment @openwisp-companion assign on this issue. Your comment satisfies GitHub's requirement and the bot will then assign the issue to you.
Thank you for opening PR #1255 to address this issue!
GitHub did not allow the bot to assign this issue to you automatically, because you are not yet an organization member and have not previously commented on this issue.
To get assigned, please comment @openwisp-companion assign on this issue. Your comment satisfies GitHub's requirement and the bot will then assign the issue to you.
Activity
[-]Wireguard template auto tunnel provisioning breaks using IPV6[/-][+][bug] Wireguard template auto tunnel provisioning breaks using IPV6[/+][fix] WireGuard auto tunnel provisioning broken with IPv6 IPAM openwi…
[test] Add test for WireGuard auto client with IPv6 subnet openwisp#721
[fix] WireGuard auto tunnel provisioning broken with IPv6 openwisp#721
[fix] Add VXLAN+IPv6 regression test and update changelog for openwis…
openwisp-companion commentedon May 8, 2026
Hi @devangpratap 👋,
Thank you for opening PR #1255 to address this issue!
GitHub did not allow the bot to assign this issue to you automatically, because you are not yet an organization member and have not previously commented on this issue.
To get assigned, please comment
@openwisp-companion assignon this issue. Your comment satisfies GitHub's requirement and the bot will then assign the issue to you.openwisp-companion commentedon May 9, 2026
Hi @devangpratap 👋,
Thank you for opening PR #1255 to address this issue!
GitHub did not allow the bot to assign this issue to you automatically, because you are not yet an organization member and have not previously commented on this issue.
To get assigned, please comment
@openwisp-companion assignon this issue. Your comment satisfies GitHub's requirement and the bot will then assign the issue to you.[fix] Add workaround comment for netjsonconfig IPv6 hardcoding
[fix] WireGuard auto tunnel provisioning broken with IPv6 openwisp#721
[fix] Add VXLAN+IPv6 regression test and update changelog for openwis…
[fix] Add workaround comment for netjsonconfig IPv6 hardcoding