[strongSwan] automating Strongswan for Android with Tasker

David H. Durgee dhdurgee at verizon.net
Fri Feb 14 19:09:19 CET 2020

Your eyes for this are better than mine, as I missed that difference as
well.  Correcting that to match the working task now has both of them
working.  I next created two state profiles, one when connected to my
home WiFi network which exits the VPN and one when connected to any
other WiFi network which enters the VPN.  This should allow the android
tablet to safely use WiFi at all times.

Thank you again for your assistance.


> Tobias Brunner wrote:  Hi David,
>> Changing the target to Activity now has the Exit_VPN task working as
>> expected.
> Great!
>> Unfortunately the Enter_VPN task still does nothing.  Is it
>> possible that the Action should be something other than "START_PROFILE"
>> or that I need to issue another intent to connect it?
> Nope.  The only difference between the two (if you changed the target
> for both) is "Cat:Browsable" (Enter_VPN) vs. "Cat:None" (Exit_VPN).  No
> idea what it means or what the impact is, though.
> Regards,
> Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4056 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200214/0f76375b/attachment-0001.bin>

More information about the Users mailing list