yashsingh1/xdaforums huggingface dataset:
[Android General] Cryptycat7:
This is truly amazing. Is it free to use? I'd be happy to pay for this, just wondering since I was prompted with that 24 hour trial message. Also have subscriptions for Tunnelbear and ExpressVPN. Thank you for protecting my privacy and taking the time to reply.
[Android General] anujyadava:
Yes it's free,u just need to download the .conf file once and you are good to go
[Android General] Cryptycat7:
Amazing. Thanks for taking the time answering me. My U11+ feels complete now.
[Android General] zx2c4:
Thanks for the useful information. I think the latest app update should have solved this issue. Please let me know if it works after updating from the Play store.
[Android General] jcmm11:
Thanks for this. One question - would it be possible (or is it even necessary) to incorporate a kill switch into WireGuard itself? Or do the iptables rules it generates already have the same impact as a kill switch would, meaning if the tunnel goes down unexpectedly (as opposed to an orderly shutdown) internet traffic gets blocked.
[Android General] zx2c4:
On Android, the networking stack is pretty strictly controlled, so I think what we're doing now is probably the best that can be done in that department. If you're using the Go backend rather than the kernel backend (see which it tells you in About), then you might be well served by flipping the "Always-on VPN" switch somewhere in the Android system settings, and maybe the block option too, so that packets won't "leak" during updates or before boot has completed.

On desktop Linux, the networking stack is slightly anarchic, because different distros and users do things in different ways. The defaults that wg-quick(8) uses are pretty sensible defaults that I think work in most cases for most people. But if you want to be "extra paranoid" and ensure that a stray route or policy, or that a management daemon won't interfere with things, you could add the iptables-based "kill-switch" using the Post{Up,Down} directives in the configuration. A recommended one is in the wg-quick(8) man page -- Ctrl+F for kill-switch and you'll see it.
[Android General] Nadalaba:
Hi,

I followed the instructions precisely but I'm having this error: "error bringing up tunnel: Unable to configure tunnel (wg-quick returned 127)"

Im using Galaxy S7 SM-G930FD on stock oreo rom and a custom kernel:

https://xdaforums.com/galaxy-s7/development/kernel-tgpkernel-t3462897

Can you help?

log file:

https://drive.google.com/file/d/1ukNZDyl8EkPyeW-uLcOt8GU5j-2h0y_Q/view?usp=sharing
[Android General] J4jks:
Yeah this error happening with me too, but force closing wireguard and try different profiles solve my issue temporarily
[Android General] blackbomb1991:
I'm running wireguard on Samsung Galaxy S7 edge on Oreo 8.0 stock version and I get this weird message as soon I turn one of the servers on which is as follow:

error bringing up tunnel : unable to turn tunnel on wg turnOn return -1 on wireguard

Wireguard works perfectly fine on my pixel 2 and somehow it doesn't work on S7 edge . Can someone help me out with my issue ?

Thanks .
[Android General] zx2c4:
Can you send a log? (Preferences-->Export Log To File)
[Android General] blackbomb1991:
For some reason XDA doesn't let new users to post links so I had to send you a private message . I sent you the logs as you asked . I would really appreciate if you could let me know what goes wrong .
[Android General] rudolfm:
This is what happens when someone (Schroeder09) quotes someone else (dailydot) who quotes another one else (thebestvpn) who claims something. And when this person doesnt even care to read the original "claim"

According to thebestvpn Azire showed a dns leak. So I started two of their tests (dnsleak.com and ipleak.net) and FOUND NO LEAK!

I used an Android device, the wireguard App and no Kernel support, e.g. the Key shows in the statusbar.

Update: I also did the two tests with another Android device which has Kernel Support for Wireguard. Again, no leak.

If you want do the test, please note that dnsleak told me i might have a leak. This is due to my 'location' being Spain and my dns server being in sweden. That is OK as neither my ISP nor myself are in these countries. Ipleak reports no problem.

I assume thebestvpn used a Windows device for their test. Windows by design is prone for DNS leaks, as every network device has it's own dns and windows sometimes gets them mixed.
[Android General] zx2c4:
Why are you beating a dead horse? No matter how you slice and dice it, a leak or an absence of a leak has mostly to do with the software running, not with the particular provider, and the software we're running is software I wrote, so if there's a problem, I'll fix it. Therefore there is nothing to report with regards to "Azire" or any other provider.

By pointing again to the issue with a particular provider or even with a particular operating system, even if your findings are positive, you're only adding more confusion and distraction.

No need to respond to this message. Please just walk away and not add more confusion to the issue.
[Android General] J4jks:
This error is happening most of the time and I couldn't upload the log file

Network error

https://ghostbin.com/paste/mxg9p
[Android General] zx2c4:
Replace "se1.wg.azirevpn.net:51820" in the config file with "193.180.164.58:51820".
[Android General] J4jks:
Thanks.

Can I use this in all config files?

I've different country configs
[Android General] jcmm11:
No. It's the IP address for the given host. You can look it up for each one though. Check the config file for the host name then, from a terminal emulator,

ping -c1 <host name>

Should return the IP address (among other things). There's cleaner ways but that should work on pretty much any Android system and is simple enough.
[Android General] :
Hi guys,

I am facing a little issue with my Wireguard setup, and I can't figure out what is the problem... I have a raspberry at home acting as a server, and an Android phone (OnePlus 6) with a custom kernel and the Wireguard app. I can correctly ping each part from the other, and the server can ping any other website without trouble.

However the client (phone) can *only* ping the server, and no internet access whatsoever is possible. Is this a DNS issue?

Edit: So yes this is a DNS issue, if I force the wireguard client to use another DNS server (say, 8.8.8.8) it works. However I obviously have DNS leak... :(

Thanks!
[Android General] jcmm11:
I don't know if you have a leak. I wouldn't call not being able to access DNS a leak. More like a blockage. Who are you using for Wireguard? And where does the conf file point to for DNS before you force it to 8.8.8.8? (I'm assuming you're changing the conf file to force the DNS server. If not then what are you doing?)
[Android General] 186Y:
I got the same error on Ubuntu 18.04.1 LTS. Did you find a solution?
[Android General] jcmm11:
[MENTION=6697942]J4jks[/MENTION]

Have either of you tried installing either of openresolv or resolvconf packages? The error tells you exactly what command is missing. A package search within Ubuntu would tell you what packages can provide that command.
[Android General] 186Y:
Installing both openresolv and resolvconf packages fixed it. Much appreciated!
[Android General] J4jks:
Thanks a lot.

Installed openresolv and resolvconf.

Now I'm able to run wireguard on my Linux distro

Thanks again
[Android General] Nadalaba:
Hi, Can you help me with this error?

I followed the instructions precisely but I'm having this error: "error bringing up tunnel: Unable to configure tunnel (wg-quick returned 127)"

Im using Galaxy S7 SM-G930FD on stock oreo rom and a custom kernel:

https://xdaforums.com/gal...ernel-t3462897

Can you help?

log file:

https://drive.google.com/open?id=1ukNZDyl8EkPyeW-uLcOt8GU5j-2h0y_Q
[Android General] Zack420:
Hi,

Am using wireguard on android and have downloaded the configuration files from Azire. However, there doesn't seem to be a US ip associated with the 4 servers that azire is offering. I have canada, germany sweden & uk, but none for the US.

Is there some other way to get a US VPN server that can be used with wireguard ?
[Android General] jcmm11:
Where did you get the config files? For WireGuard https://www.azirevpn.com/cfg/wireguard they're offering 5 servers:

Canada

Spain

Sweden

USA

UK

(See attached image, if XDA is behaving). There is a problem with the US server (located in Miami) in that Google insists on identifying it as being in the Netherlands, which can lead to some unwanted results at times (if enough people complain maybe Google will eventually fix it), but other than that it's fine.
[Android General] Zack420:
Downloaded the configuration files again and this time I got all the 5 servers instead of the 4 I got yesterday ( I have no idea why I only got 4 yesterday and have got all the 5 today ).
[Android General] danlo:
periodic freeze?

All,

I rolled my own Wireguard running on a Linode VPS. I am using the Android app to connect my Chromebook and Pixel 2. I see a "freeze" behavior on both, where periodically I see my network has issues resolving host. Most of the time, the issue resolves itself within seconds, sometimes minutes. Sometimes I have to disconnect and reconnect. A disconnect/reconnect will always fix the issue. Is this an issue with the VPN app or do I need to research more on the server side?

Thanks.
[Android General] budbay:
I had this issue briefly on android with a certain kernel, I resolved it by setting the keep alive to 90 seconds in the wireguard app. But I haven't experienced this on recent builds. I also run my own on an Ubuntu server. Might be worth a try if your not specifying keep alive.
[Android General] rudolfm:
I am using wireguard on Android with kernel support. I cannot start wireguard before I turn wifi on. Is this normal?

I would rather be able to switch on wireguard before i switch on wifi so that i don't have any unencrypted traffic over wifi.

If you are using Wireguard without kernel support, if you get the key symbol in your status line, then don't bother about this. It only happens on my Y550 with kernel support, not on my other device.
[Android General] khaberz:
Is it possible that this tile only works when the app is running in userspace? I used to see the but now I am using a custom Kernel that supports wireguard and while I can make connections, the tile showing me status has disappeared.
[Android General] rudolfm:
I am using wireguard with kernel support and I have this tile.

Do you have an editing function to set which tiles are displayed? I do, an i had to pick the tile to have it shown.
[Android General] khaberz:
Thank you! Yes, the tile was hidden there. I previously also had a key symbol with the text "Device connected to Wireguard" as well as a key in the menu bar when a connection was active - that one I am still missing, but the tile helps already. Thanks again!
[Android General] jcmm11:
You won't get the key symbol if you're connecting using kernel support, that'll only show for an external VPN app (which is pretty much all of the others)
[Android General] rudolfm:
The app can do both.

It looks for kernel support, and uses that if it finds it. Then you don't have the key.

If there is no kernel support, the App uses the Android VPN interface and its own routines. Then you have the Key.
[Android General] khaberz:
Right. I just think some immediately visible indication of an active connection would be nice, even in Kernel mode.
[Android General] jcmm11:
WireGuard app version 0.0.20180729

Tunnel gets started at boot via my own script. The app does not recognize that the tunnel is connected (and yes this used to work).

Images attached:

Image of app indicating nothing is connected.

Image from Azire web site showing that I am actually connected.

Also attached log output from the actual connection, again showing a successful connection.

Need/want anything else just ask.

Edit: Never mind - this was user error. Somehow WireGuard su priviliges were set to deny.
[Android General] J4jks:
Until I turn on data connection VPN is not turning on , giving error.

And with enabled tunnel telegram is not getting connected sometimes, after reboot its fine.

In wireguard setting I've enabled restore after reboot ,its not getting restored.

Sometimes unable to enable or disable the tunnel

I'm on latest version with, kernel support

Redmi note 3 magisk+systemless xposed
[Android General] navin252:
Can anybody share the config file ?
[Android General] J4jks:
You can create .

Go to azirevpn wireguard and create profile then download wire guard config(s).
[Android General] navin252:
I tried but azirevpn is paid not free now.
[Android General] Mesmurized:
Not according to this:

https://www.azirevpn.com/wireguard

Our WireGuard tunnel is currently free for everyone

Our internal tests has been running smoothly, therefore we are now interested in testing our WireGuard infrastructure at larger scale. For this reason, we decided to open up our WireGuard servers for free. Simply sign up to connect to all of our WireGuard servers, available in each of our locations.
[Android General] navin252:
Turns out it was my silly mistake. I didn't confirm the registration email. Thanks
[Android General] kangshoo:
i have the problem, Working wirdguard with internet access on wifi but cannot access the internet fully on data (LTE),

for example , on wifi everything is ok, but when i on lte i can just open youtube and see the playlist, but can`t play the video, i can also open google play and see the app list, but can`t download it

no matter I use azire or my own server,

i don`t know why,did someone figure out the wireguard lte problem?

thank you
[Android General] floorge3:
Check your APN settings, i remember removing my proxy server fixed it for me.
[Android General] kangshoo:
thank you

but there is no apn in my phone

and i m curious with why i can just open youtube and see the playlist, but can`t play the video, or can also open google play and see the app list, but can`t download it

it seem that huge network-flow is banned by mobile carrier
[Android General] ouldsmobile:
Disregard. Reinstalled the app and it sorted my issue out. :)
[Android General] J4jks:
Anybody facing issues with telegram ?

I'm using Telegram Foss and with WG on, TG is staying on connecting...

If I just disable WG tunnel and TG works fine after that turing on WG tunnel also TG continues to work.

But I can still download the images from already loaded msgs, though I don't get new any messages.
[Android General] ozukoc:
Is azirevpn config files are forever ? I mean in azirevpn account it says expired and now i cant connect to any internet while wg is on. Idk whether its the same time with the account expiracy or not but i was using wg flawlessy and nothing changed but now i cant connect...
[Android General] Mesmurized:
As far as wireguard goes, they continue until azire stops it. Ignore the expiration stuff.

Same here. Check your isp. Had issues and thought it was azire. Took 2 days to track it down to my internet connection
[Android General] ozukoc:
Weirdly, i reinstalled the app and used old config file now it works as before :)
[Android General] daddyc:
When wiregaurd is active i am unable to connect to internet... Previously is working great.... Any idea whats going on...
[Android General] kantjer:
I had the same on Linux a few days ago

Running the azirevpn-wg.sh script again fixed it
[Android General] daddyc:
On Android how to do it
[Android General] ttkian:
Try to redownload the configs file, clear the app data, and upload the new config file.
[Android General] jcmm11:
Who's your provider? Does it work on WiFi? (If it doesn't work on WiFi you can ignore the first question)
[Android General] DEVILOPS 007:
Hi I've got a couple of questions. What is the best service to use for wireguard free or paid? Second question is, I've heard of azire but have also heard about it expiring? Does it expiring mean that the VPN will stop working with wireguard? Thanks.
[Android General] daddyc:
It's not working on wifi too....

---------- Post added at 01:53 AM ---------- Previous post was at 01:52 AM ----------

I have done that many time still its not connecting to internet
[Android General] yochananmarqos:
I recommend Mullvad. You can try it out for a few hours, then it's about $6/month. It's completely anonymous. You generate an account number, no sign up required. You can even mail them cash. I've been using it on Android and Linux for about a week and it's very fast.
[Android General] DEVILOPS 007:
Oh sounds good mate. Thanks. Does it work better than Azire from your experience and better than VPN clients like windscribe, purevpn etc?
[Android General] yochananmarqos:
I couldn't say. I've only used PIA before, but it was only a short trial period.
[Android General] panachoi:
Split Tunneling ?

I'm having a similar issue, I think. When the tunnel is not enabled, the internet works fine. As soon as the tunnel is enabled, *ONLY* the addresses in listed in the Peer Endpoint Allowed IPs are reachable, the rest of the internet is unreachable. Its as if wireguard is also trying to send all of the traffic via the tunnel, but I dont have 0.0.0.0/0 listed as an allowed IP on either the client or the peer, so traffic is not passed. I have not (yet) tested to see if wireguard behaves the same on other platforms.

This is not so terrible, I'm using wireguard to access my home network, so normally I just bring the tunnel up when I need to access it, and then shut it off afterwards, but it would be nice if split tunneling would work.
[Android General] kantjer:
Anybody here on Pie?

Since moving to Android 9 (Pie) I don't have the "Install command line tools" "and restore WG connection on boot" anymore.

I have added WG support to my kernel, still no luck

Is this working for others?
[Android General] Turnilemikus:
Yes, working on my Pixel 2 with Pie.
[Android General] kantjer:
Thanks, I'm one step further but now I'm getting an error bringing up tunnel error.

Even tried generation new config files but no luck.
[Android General] johopki:
I've gotten that error (127 if memory serves). You have to completely uninstall wireguard, reboot, wipe any trace off of your system then reinstall. Make sure it has root permissions, reinstall the config file and you should be OK.

It mainly happened to me when restoring from a backup or switching Roms.
[Android General] kantjer:
Thanks for the tip.

But no matter what I try it's doesn't work, I'm getting "wg-quick returned 64" error
[Android General] johopki:
Oh.. I haven't had that one. Are you sure the kernel supports Wireguard?
[Android General] kantjer:
yes, I added it myself

https://github.com/kantjer/android_...mmit/a7dd65b0b7e1a1c8548676a9c037554fdda4e1ab
[Android General] rudolfm:
[MENTION=8782989]AzireVPN[/MENTION]

I have a strange problem. My config for Sweden stopped working, so I downloaded a new zip configfile. After that Sweden worked, but Spain didn't work anymore.

Now I am using the Spain config from August and the Sweden config from late September.
[Android General] TheVPNGuy:
Gravy Train is Over :(

UPDATE UPDATE UPDATE -- OCTOBER 4, 2018: AzireVPN is no longer free, and therefore the original instructions will no longer work for non-paying folks, which is probably most of XDA. For this reason, you are advised to now use your own judgement when selecting a WireGuard VPN host. Two recommended ones, as of writing, are:

- Mullvad (.net) - more servers, better bandwidth, more mature company

- AzireVPN (.net) - newer, has IRC channel, uses custom PXE-booting hardware

Even better, however, is that you run your own server using an inexpensive (or sometimes free) VPS.
[Android General] rudolfm:
https://www.azirevpn.com/blog/2018-10-04/monthly-update

You might ba able to use it till end of october, I'll see tomorrow.
[Android General] jcmm11:
Anybody that's used both have any comments on Azire vs Mullvad? Since I have to pay in either case I'm leaning towards switching to Mullvad (one reason being Google keeps insisting that Azire's USA server is located in the Netherlands, although using the Canadian one solves most of the issues that caused) but would like some additional viewpoints.

Azire would be somewhat cheaper (assuming multi-month payment)
[Android General] Lughnasadh:
I tried the 3 hour trial of Mullvad today and it seemed pretty good. Speeds were faster than Azire. A friend of mine also had the same impression.

The reviews from many of the VPN sites that I read were pretty positive about Mullvad, especially in terms of privacy, security and speed, for whatever that's worth.

Once November hits and our keys expire, I will probably go with Mullvad over Azire. I had a pretty positive experience during that 3 hours.

Oh, and I did a few speed tests when using Mullvad. Without using Wireguard on my PC I got 134 mbps download without Mullvad, and around 127 with Mullvad, so not much drop in speed at all. Experience was similar on Android, so speeds are indeed good.

I would recommend doing the 3 hour trial to experience it yourself though.
[Android General] rudolfm:
Azire is still working, so I assume we will be cut off at the end of this month.
[Android General] THERAJ12:
Can anyone suggest ant recent actively updated kernels that support WG for android pie?
[Android General] Turnilemikus:
I'm on Pixel 2 with Pie. This thread is great.

https://xdaforums.com/pixel-2-xl/development/taimen-flash-kernel-1-00-t3702057
[Android General] rudolfm:
You need the right Kernel for your device. You can't use a Kernel meant for another device. If you don't name your device, nobody can help.
[Android General] THERAJ12:
yea i know just asking in general many kernels are made for many devices im on moto g5s plus sanders I know only one kernel that is it right now
[Android General] hllywd:
I need help. I realize that this thread deals with Azure VPN but with a ire now charging I wanted to try Mullvad and not having g any luck. When I get to create and download config files it does nothing. It doesn't give me the opportunity to save the file. And I'm not smart enough to do it manually. What to do? Could someone write a guide? Or could this be a pie bug? Thanks
[Android General] Turnilemikus:
You followed this guide, right?

https://mullvad.net/en/guides/wireguard-android/
[Android General] hllywd:
Yep. And when I hit generate & download I never get the save button so it ends there. I've on my phone, pc, laptop.
[Android General] Turnilemikus:
Not a pie bug, I was able to make it on my phone. Try a non privacy hardened browser so nothing interferes. I did have a different issue when I selected ALL servers. Maybe try selecting 1 or 2 servers in regions you prefer. I used two East Coast (US) servers.

Hopefully, this will get you further.
[Android General] hllywd:
Son-of-a-gun! That worked. I had Firefox on my pc and could download it, moved it to my phone and now wireguard tells me it a invalid name. What now?
[Android General] Turnilemikus:
Hmm, progress but not quite across the finish line. Can you try a few other servers?
[Android General] hllywd:
Well looks like that worked. Maybe it made a difference by not choosing an optional second server. Anyways I'm back up & running. Thanks for the help.
[Android General] Turnilemikus:
Great! Make sure you check out the "am I mulvad" site to confirm you're up and running.
[Android General] kangshoo:
me too，did you solve the problem yet？