Toggle Wireguard on wifi (multi-ap, restart-safe)

by Tadas G

Version 1 (April 24, 2025)

Download (3,641 downloads)

Multi-SSID, works even after phone reboot, free version compatible.

After a phone reboot, it might take a few minutes for wireguard to connect, but it does.

Props to "zilexa 0", "David Koppenhofer" for some ideas & base.

*** HOW TO USE ***
1) long press app icon > App Info > Battery > set to Unrestricted (on newer android: App Info > App Battery Usage > Allow Background Usage > turn ON and then click text > Unrestricted). Do this for Automate and Wireguard apps.
2) in Wireguard go to Settings > Allow remote control apps > Enable
3) In Automate go to Settings > Privileges: enable "Control Wireguard tunnels".
4) Automate > Settings > Run on system startup > Enable
5) Go to Flows > open this Flow > bottom right corner > edit flow.
6) Update block #33 with your own wifi ap names where wireguard should be switched off.
7) Update block #34 with your wireguard profile name.

Hit Start.

IMPORTANT: this will work unstable if you do not do step 1 exactly as written.

4.6 average rating from 11 reviews

5 stars
9
4 stars
0
3 stars
2
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.