WireGuard toggle on_off specific WiFi(s) v2

by Rapha

Version 7 (October 29, 2024)

Download (604 downloads)

Advanced automatic control of WireGuard.
Multi-Wifi list. User friendly configuration.
Multi-Vpn tunnels association (split tunnel or full tunnel, per-ssid )
(~70 blocks)
(Must enable "Control tunnels" additional permission in Automate system settings page.)

This is the Version 2 of this flow. The difference from version 1 is that it also takes in account a second list of SSIDs which should trigger a different tunnel.

I use this so I can automatically connect to a split tunnel or a full tunnel, depending on situation (on mobile, work wifi, etc )

***update 2024***
• There is a newer version of this flow, that I uploaded separetedly to keep this iteration as is for now.
https://llamalab.com/automate/community/flows/49163
****update 2023-02-27**
• Improve reliability when fast switching between one wifi to another, when both are whitelisted.
***update 2023-02-20***
• Improve the retry logic when network is unnavailable, preventing fiber from stoping after only 10 retries, as it was the case previously. Also, progressively increment the interval between retries.
***updated 2023-02-14***
• fix for second list setup logic
• log improvements

**response for the comments**
the java.io errors happens while the phone has no network connectivity during transitions periods, it's expected to happen, hence the catch blocks and error handling and retry logic.

4.0 average rating from 2 reviews

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

Rate and review within the app in the Community section.