Skip to content
New issue

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

WireGuard Android app cannot parse generated IPv6 Endpoint address #352

Closed
jrstrunk opened this issue Jul 15, 2022 · 2 comments
Closed

WireGuard Android app cannot parse generated IPv6 Endpoint address #352

jrstrunk opened this issue Jul 15, 2022 · 2 comments

Comments

@jrstrunk
Copy link

After running the install script (wonderful script by the way), it generated the IPv6 peer as (with different actual values of course):

[Peer]
PublicKey = CVcJFPr5FPUhQQb1j8H2k0Abg4lDw+dGJVzPPFzJ4js=
PresharedKey = pqO1poiAJStI8nCZcjsI9aD+xXi9zXJKV3wH+VNBG1Y=
Endpoint = 2603:a870:810:10::a0f:6001:56935
AllowedIPs = 0.0.0.0/0,::/0

When I tried to import this into the Android WireGuard (v 1.0.20220516 (492)) app, it gave me an unable to import error saying that the Endpoint was unparsable. I edited the config file to instead be Endpoint = [2603:a870:810:10::a0f:6001]:56935 as I have seen using brackets with IPv6 to distinguish it from the port number before. When I imported this to the app it did not complain at all and I was able to make a connection to the server. I am not experienced enough yet to tell if this fixed the issue for IPv6 or simply hid the issue, as I do not have an IPv6 IP address when connected.

Although I cannot be confident enough in my solution to contribute it to the codebase, I thought I would post this here to let the maintainers know the issue I had and the workaround I made for.

@angristan
Copy link
Owner

Thanks 👍

@emersonsc
Copy link

problem is back with Android app version v1.0.20230707. Unable to parse when an ipv6 address is given for endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants