Open Rishi556 opened 5 months ago
Looks like the same thing happens in the DNS section and the VPN server address section:
Oh, we need to fix the validation. Will do next sprint.
https://github.com/DefGuard/client/pull/197 seems to have fixed part of the issue. I still see it not accepting both IPv6 and IPv4 address under the address section at once. I'm importing the same file that I use on the native WG client.
No errors when initially importing:
After hitting submit:
Using just the IPv6 address does work, seems to have issues with both a v4 and v6 address at once. I guess that it's truly a different issue at hand though.
Here's a sanitized version of the config file:
[Interface]
PrivateKey = ABC123
Address = 10.0.0.1/32, 2600:db8::1/128
DNS = 2606:4700:4700::1111
[Peer]
PublicKey = ABC123
PresharedKey = ABC123
AllowedIPs = ::0/0, 0.0.0.0/0
Endpoint = [2600:db8::2]:443
Tried to add my config and got an issue on the address section:
It fails wether I have just the v6 address, a v6 and a v4 address.
Only way I got it to work was by removing the IPv6 address: