


Now we go back - back into the main screen and see of both Profiles are enabled. It asks us for “Tunnel up?”, we choose “yes” and now we need to enter the Tunnel’s name. Invert means here that the State "Wifi Connected" gets inverted to "Wifi Disconnected"Ģ.) We add a new task - name it "wireguard on" - Tasker - Tasker function - Wireguard Set Tunnel We enter our Wifi data needed for the state, but this time we also check the "Invert" option ✔️. The steps are pretty similar, so I want to only point out the differences, as we already know where to dig in Tasker's configutation possibilities.ġ.) We add a new Profile - create - State - Net - Wifi Connected We want to auto-connect to our VPN once we leave our Home-Wifi. Okay, now that we have the first Profile we are going to add the second one. Once switched off you need to make your new configuration "live" by tapping the ✔️. You can use this to enable or disable the profiles. Now tap the back arrows like 2 or 3 times and we are on the main screen of tasker again with the first profile done!Īs you can see there is a switch. Mine is called "Home" so I'm going to enter it here. This is the name of your Tunnel in the wireguard app. It asks us for "Tunnel up?", we choose "no" and now we need to enter the Tunnel's name. We hit the + button and choose "Tasker -> Tasker Function -> Wireguard Set Tunnel" Now we need to add the specific task Tasker has to do when our phone is connected to our homenetwork. We tap the + button and name the new task "Wireguard off" or whatever you like. Once filled in, we hit the back arrow and Tasker asks us to create a "New Task". My Home SSID is that unique that it's specific enough in my case.
Tasker wifi near mac#
You can also fill in your routers MAC address if needed. On the following dialogue we can set up all the dependancies of our Wifi-State. We need to choose "Net" to open all the network options available and hit "Wifi Connected" next. In our case we need to tap on "State", because our automation profile is dependant on the WIFI-State of our device. We choose "create" on the following dialogue. We open up the Tasker App and see just an empty screen. It should disconnect your Home-VPN-Connection once we enter our Home-Wifi. So now we are going to create the first Tasker-Profile.

Important is just, that Tasker has all the permissions it needs.
Tasker wifi near install#
I presume that you are able to install Tasker on your own, so I skip this part.
Tasker wifi near how to#
How to use Tasker to auto-connect to your VPNīefore we start, we need to make sure we match all dependencies! Dependencies It's such a powertool, I freakin love it. When I left my workplace, my phone automatically enabled sounds again and send a text to my wife that I'm coming home to let her know. For example, I used it years ago to switch off any sounds on my phone when I arrived my workplace (GPS based). Tasker is an app, which you can use to automate like nearly anything on your phone.

Tasker wifi near android#
We can achieve it with the Android Swiss Army Knife in Terms of automation: Tasker (Play Store) What's Tasker? automatically disconnect from the Home-VPN once you enter the Home-Network.automatically connect to the Home-VPN once you leave the Home-Network.Well, in my Tutorial "Pihole and PiVPN on a Raspberry Pi", I showed you, how to install a wireguard based VPN Server (with PiVPN) and the Ad-Filter Pihole on any Debian based System and use them on your Phone, when you are on the go or in a public network.īut you always have to manually connect to your Home-VPN, once you want to enjoy an encrypted connection to your home-network with Pihole filtering on the go.
