Enable WireGuard VPN with Tasker on Android 15

204 views
Skip to first unread message

Frank Roehm

unread,
Mar 18, 2025, 8:58:03 AMMar 18
to Tasker
Hello

I have a WireGuard (v1.0.20231018) VPN on my Xiaomi Poco X6 Pro 5G with Android 15 (Xiaomi HyperOS 2.0.102.0) and also the plug-in for Tasker (v6.4.16).
This VPN I can activate manually in WireGuard and it is working but not through the Plugin in Tasker.

I have activated the switching on and off by external apps in the settings of WireGuard, the Plugin is present in Tasker and I can run a Task to activate it, but it doesnt work.
The Task runs without any error, but the WireGuard tunnel’s state is not changed.

Exactly the same setting worked on my older phone with Android 9 but now on 15 it doesnt.
Anybody knows if it SHOULD work on Android 15? I don’t find anything about that.

Thanks for hints. frank

francwalter

unread,
Mar 18, 2025, 5:47:53 PMMar 18
to Tasker
It was just the Battery Optimization, after I disabled that for WireGuard, it worked ☺
Sorry.

francwalter

unread,
Mar 19, 2025, 4:00:53 AMMar 19
to Tasker
francwalter schrieb am Dienstag, 18. März 2025 um 22:47:53 UTC+1:
It was just the Battery Optimization, after I disabled that for WireGuard, it worked ☺

This post helped me to find the problem: Controlling Wireguard(VPN)


Reply all
Reply to author
Forward
0 new messages