News for hackers. Stuff that matters.
Re:WireGuard is in net-next by ndarilek on Monday December 09, 2019 @10:02AM (#21743187)
Do you have an automated way for turning it off when you're on home wifi? Trying a similar setup, and it isn't immediately clear other than via manual activation how to not use Wireguard in that situation.

Thanks.

Re:WireGuard is in net-next by kylek on Monday December 09, 2019 @10:35AM (#21743460)
The built-in "on-demand activation" is quite good. Can set it to specific SSIDs (white or blacklist) or cellular. I've it on for everything except my home SSID.

Edit: I'm talking about the iOS version, not sure what platform you're using.

Re:WireGuard is in net-next by 416chad on Monday December 09, 2019 @11:08AM (#21743752)
No such luck on Android, you need to use tasker or similar. Really a nuisance but not a deal breaker. It would be dreamy to set up the client to not use specific SSIDs.
Re:WireGuard is in net-next by forbiddenlake on Monday December 09, 2019 @10:51PM (#21749437)
I want to point out that the intents on the official Wireguard Android app are not exposed, so I, not being rooted, can't use Tasker to automate it.

However, there are other Android apps that implement Wireguard that do expose their intents. I use Viscerion with Tasker quite happily.

Re:WireGuard is in net-next by blueberry_47 on Monday December 09, 2019 @01:20PM (#21744934)
What iOS client are you using? I am using the Wireguard one (the the twisty snake/dragon) and don't see any of these options. Is this stuff that is done in the config files? Sorry, all new to me.
Re:WireGuard is in net-next by chadlavi on Monday December 09, 2019 @02:10PM (#21745360)
It's in there! Scroll down to the "On-demand activation" section of the settings for your connection
Re:WireGuard is in net-next by blueberry_47 on Monday December 09, 2019 @02:48PM (#21745752)
There it is! Thank you!
Re:WireGuard is in net-next by chadlavi on Monday December 09, 2019 @01:08PM (#21744844)
Yep, this is what I do. It just doesn't connect when I'm connected to my home WiFi
Re:WireGuard is in net-next by apexalpha on Monday December 09, 2019 @10:38AM (#21743487)
On Android this can be easily achieved by Tasker.

Personally I have the luxury of running the VPN server at home, so I can just always leave it on.

Re:WireGuard is in net-next by xur17 on Monday December 09, 2019 @01:10PM (#21744862)
Why does this allow you to allows leave it on?
Re:WireGuard is in net-next by iudqnolq on Monday December 09, 2019 @02:05PM (#21745320)
Presumably minimal latency from phone on home wifi to server on home wifi. I actually have no idea if this is true, or how I'd evaluate it. Does anyone understand how the internet and wireguard works well enough to know if this is true?
Re:WireGuard is in net-next by xur17 on Monday December 09, 2019 @02:11PM (#21745377)
That's what I was wondering. I've actually done this using OpenVPN (connected to my home VPN server while on home wifi), and it worked fine. Biggest issue was battery impact, but wireguard might be better in that regard?
Re:WireGuard is in net-next by apexalpha on Tuesday December 10, 2019 @05:07AM (#21751168)
Well since I connect to my home network anyway I can just leave it on at home and there's no difference in performance.
Re:WireGuard is in net-next by kryogen1c on Monday December 09, 2019 @12:21PM (#21744389)
I havent used it so i cant vouch for it personally, but IFTTT has been recommended to me highly.