yashsingh1/xdaforums huggingface dataset:
[Android General] jugoslavpetrovic:
Here is logshttp://cloud.tapatalk.com/s/5b17e48c7f8b9/2018-06-06-14-38-39.zip
[Android General] zx2c4:
Incorrect. The kernel module won't trigger that. Patches welcome, if you'd like to change that behavior; the entire project is open source.
[Android General] zx2c4:
Thanks for the useful logs. The relavent part is:

06-06 14:38:23.529 V/WireGuard/RootShell(17262): stderr: + cp '/data/app/com.wireguard.android-r0uKGDdwftv42ob4IVGw==/lib/arm64/libwg.so' /system/xbin/wg

06-06 14:38:23.529 V/WireGuard/RootShell(17262): stderr: cp: /system/xbin/wg: No space left on device

It would appear that /system doesn't have any space to spare? Interesting. I wonder if that's by design with your vendor's ROM or if that's actually masking some other mechanism. Either way, we now know two things:

- The WireGuard app could benefit from improved error reporting when it fails to install the tools.

- You should stop using SuperSU, install Magisk, and get the tools via WireGuard's Magisk Module support.

Alternatively, since the tools are entirely optional, you can happily use WireGuard without futzing with any of this.

Glad we got to the bottom of this. Thanks again for the log.
[Android General] jugoslavpetrovic:
Here is log when trying to enable tunels after disabled.

I got today internet unusable speeds so I disabled but now when tried to enable I couldn't.http://cloud.tapatalk.com/s/5b17f0476d8a1/2018-06-06-16-27-37.zip
[Android General] Cryptycat7:
You have a vision and the knowledge, but if I'd be able to contribute to the development of wireguard just a tiny bit, that would be a huge honour. [MENTION=5434776]zx2c4[/MENTION] will see if I can contribute some code, what I can provide for sure is a donation.
[Android General] jcmm11:
Did you remember to remount /system as rw? (Deceptive error?)

Also - some devices don't have an xbin folder. At least for the Magisk modules you may be better off sticking them in bin, then all bases would be covered.

(That's what I'm currently doing with my homebrew module).

Speaking of which I'll be posting a proper bug report as soon as I get a chance but I have a script, run at boot, to connect a tunnel. Script used to work but since I updated the tool binaries (I think it's since then, just did that the other day) it no longer works.

Just a heads up, as I said I'll post a proper report when I get a chance (soon).
[Android General] jugoslavpetrovic:
Wireguard loghttp://cloud.tapatalk.com/s/5b182fc7043ef/wireguard-log.zip
[Android General] jcmm11:
Attached you'll find 3 files

1 - the script I use, located in service.d

2 - stderror from wg-quick up

3 - stdout from wg-quick up

(All files have .txt appended to make sure they can upload)

This used to work but stopped recently. Fairly certain it happened when I updated the wg and wg-quick commands. I added the wait for boot completion loop trying to get it to work. The original I was using didn't have that loop.

After this the first time I try to being up the tunnel using the app it gives me an error message 'unable to bring up the tunnel. wg-quick returned error 2'

Log attached for the error.

Eventually that error goes away and I can then use the app to create the tunnel.
[Android General] jcmm11:
Forgot to attach the script
[Android General] jugoslavpetrovic:
Finally I am giving a chance to magisk again afrer long time. So far it seems stable, not as I had losing root often after reboot.

Anyway, it seems that I got those modules and commands to install. Still toggles does not want to work for tunnels.
[Android General] Hamidreza_4u:
Does wireguard vpn compatible for win pc's?
[Android General] jcmm11:
From https://www.wireguard.com/install/

"A Windows client is coming soon. In the meantime, you are strongly advised to stay away from Windows clients that are not released from this site, as they may be dangerous to use, despite marketing efforts"
[Android General] maXDAmn:
any chance to running WG on iOS device?
[Android General] dev_gagrani:
helpful
[Android General] budbay:
[MENTION=4487388]jcmm11[/MENTION] did you find any solution to your issue? I am also having issues with command line tools bringing up an interface although the app works fine.
[Android General] jcmm11:
It actually appears to have fixed itself and I have no idea why. Just as I don't know why it was failing in the first place (after initially working for quite some time)

I still have the wait-for-boot loop in the script, which I inserted when initially trying to fix things. I'll probably try removing that again to start the pipe a bit earlier.
[Android General] JazonX:
Hey Guys,

So Azire is no longer free and they provide Trial for only one day.

Any other recommended free services that I can run with Wireguard ?
[Android General] Zackptg5:
It's still free, you on the right webpage? Azirevpn.com/wireguard
[Android General] rudolfm:
I'm also using Azire free.
[Android General] Melantrix:
Hi all,

I've used OpenVPN on mobile for a while now to make use of a Pi-Hole running in my lan. I've read about wireguard and wanted to try this, as the openvpn implementation is very battery draining.

So i got started with setting it up on my edgerouter 5poe using the released package (found here:https://community.ubnt.com/t5/EdgeRouter/Release-WireGuard-for-EdgeRouter/td-p/1904764 and also made with help of [MENTION=5434776]zx2c4[/MENTION])

Everything looks like it's working, i can connect and reach internal resources via mobile data (including the pi-hole webpage).

However, the DNS does not work. My phone does not use the pi-hole dns. I've tried configuring the pi-hole ip in my configuration, and also the gateway of the wireguard interface on the router to try and make use of dns-forwarding but this also doesn't work.

I have no idea what the problem can be, as this does work with OpenVPN. My guess is that the wireguard app does not configure the correct DNS server but i don't know for sure, and then the problem should be bigger and present with more users.

Do you guys have any idea how i can troubleshoot this, or if this is a known issue or something?

My phone is Oneplus 5 running the lates oxygenos 5.1.3 on Android 8.1.0 with FrancoKernel #31.

Edgerouter runs on v1.10.3
[Android General] budbay:
Maybe I can help provide some insight. I am running wireguard and pihole on my Ubuntu server which sits behind my router. My DNS works as it should through pihole. I think your problem lies with your setup on the router. The way I set mine up was similar to openvpn, after initial wireguard setup I added rule to firewall to masquerade all traffic from wireguard tunnel to my default Ethernet connection, I also added wireguard tunnel to dnsmasq config file as an accepted interface. So everything for me is working as openvpn did, also no matter what I set as DNS in wireguard app on android it always uses pihole DNS. So I would maybe start by looking in those areas, hope this helps.
[Android General] Melantrix:
Thanks for the hints, i'll look my configuration over again, however the problem is in my android config or the app i think. Reason for that is this: i can succesfully query the pi-hole from my phone using the Net Analyzer app and having wireguard enabled. However i have to manually choose/fill in the ip of pi-hole, if i don't do that, it defaults to my isp's dns server which it gets from the LTE configuration.
[Android General] budbay:
Sorry didn't realize you meant your ISP dns on LTE is not changing, that is strange . it does seem to possibly be on the android end then, not sure what else you could try, maybe install command line tools and bring up interface from command line and see what DNS its trying to set, or maybe try different kernel and check for same behavior, otherwise I'm out of ideas.
[Android General] jcmm11:
What's your Android config look like? As an alternative you can use iptables (check out the the afwall+ thread for some discussion on setting DNS https://xdaforums.com/showthread.php?t=1957231&page=456 )
[Android General] Phoost:
I switched from openvpn to wireguard on my Android smartphone because of the battery drain with openvpn. Works well except the fact that internal network requests seems to use the VPN tunnel too.

I can't reach my NAS via 192.168.1. x if wireguard is enabled. (my router too by the way)

I found the solution in the first page of this fred to use Tasker. This works but from the privacy point of view it's a bad idea to disable VPN for all.

Is there another solution available now?
[Android General] Aeodyn0:
I had the same problem; this is the solution I found if you're rooted, though I can't speak to whether it's a "correct" one:

[MENTION=5434776]zx2c4[/MENTION] Could something for this be added to the app? Of course ideally it would allow per-app, but just doing the above like (I think) wg-quick does would be great. Not sure what options none-root have right now.
[Android General] Phoost:
I'm rooted and will try out. Thanks for the hint.

For me this looks like a basic feature for normal users. Would be great to have a switch in the App.

Tested and works. Great !
[Android General] Melantrix:
This is my config:

[IMG="Android config"]https://imgur.com/N0T6Hei.png[/IMG]

interface addressess is my android local network ip with the correct size of a the subnet., DNS servers is in this case my gateway, in the hope it will forward the dns request. Local ip of the dns server itself is 10.77.1.7 which also doesn't work.

One thing to mention, i wasn't at work last week, but today when i was in the office and connected to the local wifi, it works correctly. My phone is using my internal DNS (either the gateway ip (10.77.12.1) or the dns server itself (10.77.1.7). It really looks like the app can't/doesn't set the dns server for mobile connections... can this be investigated somehow? Happy to help with that!
[Android General] FighterBoyZ:
Hi!

I'm having trouble connecting my 3g/4g to wireguard. Connecting with WiFi seems to be working. It's been like this since I started using wireguard. Maybe it's the ISP that's blocking me from connecting to azirevpn servers. I'm not sure. Just asking if anyone else has had anything similar happen to them.

This is what azirevpn says in their website:

Seamless connection - "WireGuard was built with roaming in mind. You can switch between 4G and Wi-Fi without even noticing when the tunnel is roaming."

So it should be working but it's not.
[Android General] Schroeder09:
I just started using wireguard again, and i am having this same problem. Working VPN with internet access on wifi but I cannot access the internet on data (LTE)
[Android General] nathanchance:
Are you both using AzireVPN? I'm using Mullvad on T-Mobile and I have zero issues switching between Wi-Fi and LTE with my tunnel up.
[Android General] ianmacd:
Figure out where your DNS queries are going when on LTE.

It can be a problem if your telco receives tunnelled DNS traffic from you. Because it's originating outside their network, they silently drop it, giving the illusion of no connectivity, whereas the real problem is no DNS resolution. The solution is to use non-telco-supplied DNS.
[Android General] J4jks:
In unable to turn on VPN server from wireguard giving error 1.

Sometimes ,force closing and or rebooting solves it but issue has become very annoying

I'm using remi note 3 aex n with agni kernel,which has wireguard support

On my Lubuntu is its giving resolve conf not found

With wireguard turn up command.

Can anybody help me to get this working
[Android General] nathanchance:
I'm curious, do you have any tools like BusyBox installed?
[Android General] J4jks:
No, just have magisk+systemless xposed and few magisk modules
[Android General] adarshm4you:
I will try this.
[Android General] KevinAuralee:
SM-G965U - Drop dead simple - Everything Works!
[Android General] Phoost:
Using Mulvad on Vodafone (Germany) 3G works.
[Android General] taife32:
I'm running it on my stock SO and it's working well on both WiFi and LTE
[Android General] adarshm4you:
Everything works well.I am a daily user of hotspot shield. It help me to download huge files in smartphone without any big limit. But it consumes battery a lot. This one connects to servers easily.Is there any limit for using this vpn or it is completely free or what is the limit?So if it is personal use in android,can i use it similar to what hotspot shiled provides?
[Android General] Schroeder09:
I'm using azire. Mullvad? That's another free one that the XDA community trusts isn't selling data and all the other shady stuff people accuse free VPNs of doing?

---------- Post added at 07:15 PM ---------- Previous post was at 07:14 PM ----------

I am using the cloudflare DNS magisk module and last I checked it was working, so I'm not using a supplied DNS.
[Android General] Aeodyn0:
Nope, paid, good. Mullvad: https://thatoneprivacysite.net/2017/10/03/mullvad-review/
[Android General] nathanchance:
On the contrary, it's paid, they have a very good privacy stance (as shown in [MENTION=8144973]Aeodyn0[/MENTION] 's link and this comparsion of all the VPN services), and they have donated to WireGuard development: https://www.wireguard.com/donations/
[Android General] ianmacd:
Mullvad a paid service, but that doesn't mean much on its own. There are plenty of paid VPN services with a less than stellar record when it comes to data and user protection. How much this matters in practice depends on what you're getting up to inside those tunnels.
[Android General] Schroeder09:
So, I'm using azire, and I'm using cloudflare DNS. Why could I be having the connectivity issues on LTE connection with wireguard up but be fine on wifi?
[Android General] adarshm4you:
Why azire is not providing free service as other vpn? It will be paid after 24hrs. Most vpns on smartphones provide paid service mainly for server selection features and more data limits. Atleast they can give limited service daily for browsings with random servers by them as other free vpns with more features need to be paid.
[Android General] buffal0b1ll:
Did you look any further than the top of the Azire homepage? Scroll down a bit. Read about how wireguard is still free on Azire. Find your way around, sign up and set it up.
[Android General] adarshm4you:
I already set it up.Wireguard is free to use. But azire vpn is mailing me that my account expire in 24hrs.
[Android General] adarshm4you:
This is what i said.
[Android General] Lughnasadh:
Ignore it. It will continue to work.
[Android General] adarshm4you:
oh i see. But its didnt worked on yesterday night. Morning it worked as usual. Is there any time limit for using it?Thanks for reply.
[Android General] Lughnasadh:
No time limit.
[Android General] buffal0b1ll:
Odd it didn't work but then started working again.

Every few weeks you may need to download a new zip of wg configs from Azire. I've been using since Christmas and I've probably had to get new ones about 4 or 5 times. I seldom used wireguard much, but with world cup streaming I've been using it almost daily on many devices for the past few weeks.
[Android General] maXDAmn:
it's your account expired date, not your configuration file. as long as your config file still present on your wireguard app, you're free to use it.
[Android General] adarshm4you:
Okay.
[Android General] taife32:
I got that email as well Telling that my service expires in 24 hrs
[Android General] jcmm11:
Reading from the image of the email that was posted about 7 posts before this:

"Our implementation of WireGuard is currently free indefinitely".

It would help if you actually read the WHOLE THING instead of just the first sentence! The free trial (and therefore their paid service) refers to openvpn and socks5, not WireGuard.
[Android General] gerlium:
How can I use WireGuard with PureVPN?
[Android General] taife32:
I read the WHOLE EMAIL that was sent to me, which is what I was commenting about here. Thank you for your explanation though.
[Android General] maXDAmn:
a fish can not life without a water. i think something like that
[Android General] gerlium:
So what provider do support WireGuard?
[Android General] jcmm11:
At the moment: Azire (free) Mullvad (paid). There are others supposedly looking at it, but no other implementations, yet, that I know of. (If there are others I'd love to hear it).
[Android General] dgunn:
Please if anyone knows how to use PIA (private internet access) with Wireguard I would very much appreciate the information
[Android General] hllywd:
Running WG on OnePlus 6, OOS 5.1.8, rooted, debloated, and latest Franco kernel. Sometimes it will start on boot, maybe a kernel thing. Sometime it will show the key in the pull down menu. I noticed that when the key is shown in the pull down menu I can't get on the internet at public wifi, but when the key isn't showing I can access internet on public wifi. Have no idea why or if it has anything to do with that.
[Android General] jcmm11:
Short answer - you can't. See my response immediately before your question. There's a request in their support forum for it.
[Android General] dgunn:
I did reach out to the PIA technical support team and they have advised me that they are working with the Developers of wireguard and they do have plans for implementing a configuration file but they have no timetable. You can see in the picture I have attached to this comment. They are currently waiting to see how secure wireguard is after finishing the testing phases.
[Android General] hllywd:
Sorry for the noobie question. When I did a whatsmyip it would say US Miami, now it only says US. Is WG still working?
[Android General] jcmm11:
Is anybody here successfully running WireGuard + dnscrypt-proxy? Currently I can get either one to work on its own but if I try to have WireGuard use the proxy I get failure to resolve DNS addresses.

In the conf file:

DNS = 127.0.0.1, ::1

Edit: ignore - I got it working
[Android General] floorge3:
If you go the azire website, there's a header that tells you if you're connected to their vpn or not
[Android General] drago198:
SOLVED:- Error creating tunnel

Hi, I am not a pro in android development and stuff so pardon my lack of knowledge...

Yesterday I installed wireguard as per your given instructions and it was working perfectly with the config files provided by azire VPN, the problem occurred when I rebooted my device. After rebooting when I try to switch on any of the given tunnel it gives the same error. I tried reinstalling everything, re-downloading config files, disabling magisk module(some command line tools) still I am unable to solve the error wg-quick returned 1. Pls help

Edit:

I did some testing and got a workaround for that error. For some reason when Wireguard was opened it was not asking for permission to turn on the VPN services. So I tested it on my second device which is unrooted. There it worked perfectly so to solve the problem I used Magisk Hide to cloak root access. Then after reinstalling wireguard app normally asked for the VPN permission and now is working normally. :D
[Android General] J4jks:
On my Lubuntu18.0 error

Can anybody help me?
[Android General] Schroeder09:
Azire is a leaky VPN.

https://www.dailydot.com/debug/leaking-vpns/

that's the paid version I tested too. I can only imagine how bad the free version is.:(
[Android General] jcmm11:
It's also not the WireGuard version.
[Android General] anhminhha:
I'm on stock 8,1 january, magisk 15,2, flash 2,07 kernel
[Android General] Gordietm:
How is the Wireguard version different?
[Android General] ice.man:
wireguard client on Android AND hotspot

I have a wireguard server at home and I have properly configured the clients to work on my road warrior clients (android, win10, linux)

Now I was trying to use my Android smartphone running the wireguard client as a wifi hotspot not just to internet, but to the VPN

Unfortunately I not able to route the hotspot traffic through the wiregard tunnel

is there a workaround?
[Android General] zx2c4:
I don't care to defend any commercial VPN providers or make any claims about the quality of their services. However, your comment here is wrong and distracting, and needs to be corrected before others run with the FUD you're spreading.

"Leaking" -- in the context of the commercial VPN industry's marketing stupidity -- means the software you've installed lets some packets leave your computer through your ordinary internet connection instead of through the VPN's internet connection. It's not a quality of the provider's servers or service; it's rather a quality of the provider's software.

So, you read an article about a provider shipping software that "leaks" to its users. That provider also happens to support WireGuard. Then you came and complained about it.

The reason that doesn't make sense is because if you follow the instructions of this thread, you won't be running software from any commercial VPN provider. You will be using their servers and service, yes, but you won't be running their software, which might, as the article mentioned, have "leaks".

Instead, you'll be running my software. That's what this thread instructs you to use, after all. And if you do find that my software "leaks" or is otherwise deficient, just come here screaming about it, and we'll find a good solution together.
[Android General] Schroeder09:
Thanks for the reply and clarification! By the way, I wasn't complaining. Even after reading this I never stop using wireguard and azire. A little bit of this"leaking" doesn't bother ME, but it seems like it might bother a lot of people in this thread who are using this VPN and its services in a more sophisticated manner. However, you've described how what I have mentioned is a moot point. Thank you.
[Android General] pixel52:
I think Mullvad is paid service you got only the name of server and public key no the private..you have to purchase.
[Android General] poincare:
Yes, I already subscribe to Mullvad, hence my questions in my prior post re: setting up Wireguard with them.
[Android General] sbcrumb:
Trying to install the command line tools but getting an error that they can't be installed. Running Pixel XL Stock 8.1 rooted with exNoShadez-eas kernel. I can connect just fine. but want to be able to turn off and on with tasker.
[Android General] rudolfm:
Hi. Could you please include some kind of status bar symbol or a notification that shows me i am connected thru wireguard.. Thank you.
[Android General] Gordietm:
I agree, that would be great.
[Android General] tiness:
Same here on my Pixel 2 XL stock 8.1 january with Flash 2.07 kernel
[Android General] buffal0b1ll:
You guys noticed that there's a QS tile already included with the wireguard app that you can tell the connection status of wireguard. Granted, it's not as forward facing as a notification or status icon, but it's there for what it's worth.
[Android General] zx2c4:
Can you provide logs? `adb logcat` or output from the Matlog app? Otherwise you are not useful.

Can you provide logs? `adb logcat` or output from the Matlog app? Otherwise you are not useful.
[Android General] tiness:
Yeah sorry... Taken with matlog...
[Android General] zx2c4:
Interesting. Thanks for the log. Does your /system not have the /system/xbin directory? Which ROM are you running? Can you send me the output of:

$ su -c 'echo $PATH'
[Android General] tiness:
I'm on stock 8,1 january, magisk 15,2, flash 2,07 kernel
[Android General] bond32:
Dumb question here... Is there a way to convert ovpn file to .conf?

I'm having troubles finding other providers that work like the one in the guide.
[Android General] :
Read OP once again.
[Android General] bond32:
I've read, re-read, read again. I have AzireVPN working great, I just wanted to try others. Azire has the .conf file generator so I had no issues there.

I do really appreciate the guide, it has helped me understand quite a lot.
[Android General] zx2c4:
No sir, you can't ride your horse on the highway, even though horses and cars both have something to do with transportation.

WireGuard is a different protocol and different project from OpenVPN, even though they both have something to do with VPNs.
[Android General] bond32:
Thanks. I'm learning, just the answer I needed!