algo/roles/vpn
Tim H b4740185e8 Add catch-all VPN On Demand Rule (#739)
If a user is not connected to a trusted Wi-Fi network or if the
URLStringProbe fails none of the existing dictionaries match.

According to the Apple Configuration Profile Reference[1] section "VPN
Payload > On Demand Rules Dictionary Keys" a default behavior for
unknown networks with no matching criteria should always be set as the
last dictionary in the array. The current default behavior is to allow a
connection to occur, but this behavior is not guaranteed.

Tear down the VPN connection and do not reconnect on demand as long as
the catch-all dictionary matches to guarantee the default behavior and
more specifically allow users to access captive portals.

[1]: https://developer.apple.com/library/content/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html
2019-02-26 17:40:29 +01:00
..
defaults Support for custom domain names in the endpoint (#1337) 2019-02-25 17:58:09 +01:00
handlers Certificate revocation fix (#719) 2017-11-12 17:09:57 -05:00
meta invoke dns encryption from main playbook instead of meta-dependencies (#1097) 2018-09-02 14:52:59 -04:00
tasks BSD StrongSwan fixes (#1207) 2018-11-20 19:20:24 +01:00
templates Add catch-all VPN On Demand Rule (#739) 2019-02-26 17:40:29 +01:00