https://netmaker.org logo
Hi all, has any of you ran into the issue that the...
# client
m
Hi all, has any of you ran into the issue that the generated configuration for external clients doesn't seem to work on Android? The same configuration works on e.g. my MacBook. The error thrown by the Wireguard app for Android is "bad address". Edit: I was unable to find anything related to this on GitHub and Discord. Edit 2: Running Netmaker 0.14.6 and 0.15.0 (just upgraded)
j
Several users have run into this but we've been unable to track down the issue. We generate a standard wireguard conf file, so it shouldn't be platform-specific. Nothing should prevent it from running on Andriod.
However, I have a suspicion that maybe we use a formatting that is OK on most platforms, but not on Android specifically
m
That's unfortunate. I'll have to dive into that some day then. Any odd characters maybe?
h
I noticed that if I download the config on an Android device (as opposed to scanning the QR code) it gets pulled down with a .txt extension. It won't load in Wireguard Android until the extra .txt is removed, leaving .conf in place. I've never had any other issue running netmaker external client configs on multiple phones on any netmaker versions though
j
huh, that is very strange....that would make sense, if it's getting a txt extension
but why would it do that on android and not on other platforms?
m
In my case it downloaded a proper
.conf
file. Doesn't seem to work when using the QR, nor with the downloaded file.
j
have you played around with the conf file to figure out which line is causing the error?
I am wondering if it's due to some white space or special character
m
I seem to have found it. Has to do with the cidr of a Peer's allowed IPs. When using
/16
it requires the last two parts to be
0
. I must have misconfigured that in Netmaker.
Fixed my network IP range in Netmaker. From
XX.YY.ZZ.0/16
to
XX.YY.0.0/16
. Created a new external client, imported with the QR code, now it works.
j
nice!!!
this would be very good to note for other users somewhere
10 Views