• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Beta WireGuard support: Can you get it to work?

Search This thread

Redflea

Senior Member
Nov 23, 2009
1,970
495
I've got the new beta w/WIreGuard support.

Just to test it I created a simple task/profile that turn on my WireGuard tunnel when connected to Wi-Fi. The task runs when I connect to Wi-FI (profile name shows green, green arrow to task, and task notification appears in notification pull down) but the WireGuard app never opens the tunnel. I have external access enabled in the WireGuard app.

Anyone got this feature working, and have any recommendations?
 

Redflea

Senior Member
Nov 23, 2009
1,970
495
Solved...thanks to user on Reddit. Issue was WireGuard app had battery optimization turned on. I had thought I had checked for that but evidently not.

As soon as I turned off battery optimization on WireGuard the Tasker WireGuard feature started working. Really excellent. Would be nice if the app proivded a tip/hint to do that when the WireGuard task is selected.