algo/roles/vpn/templates
Tim Hofmann 7a2e0496b7 Add catch-all VPN On Demand Rule
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
2017-11-22 11:38:36 -05:00
..
100-CustomLimitations.conf.j2 CPU and memory limitations of the services #63 2016-08-23 16:10:42 +03:00
android_html_helper.j2 Add html helper for Android (#554) 2017-05-21 22:27:53 -04:00
client_ipsec.conf.j2 Fix name (#411) 2017-04-15 14:57:07 +02:00
client_ipsec.secrets.j2 Some enhances in the compat ciphers (#464) 2017-04-23 16:00:37 -04:00
client_windows.ps1.j2 Ask users to enter the p12 password manually (#697) 2017-10-18 16:15:39 -04:00
ipsec.conf.j2 Add StrongSwan log level config option to ipsec.conf template (#700) 2017-10-19 16:06:43 +02:00
ipsec.secrets.j2 Some enhances in the compat ciphers (#464) 2017-04-23 16:00:37 -04:00
mobileconfig.j2 Add catch-all VPN On Demand Rule 2017-11-22 11:38:36 -05:00
openssl.cnf.j2 LibreSSL fix #625 (#685) 2017-10-01 16:40:08 -04:00
rules.v4.j2 Properly configure ICMP restrictions (#492) 2017-04-27 12:47:05 -04:00
rules.v6.j2 Properly configure ICMP restrictions (#492) 2017-04-27 12:47:05 -04:00
sswan.j2 add mtu in the sswan profile 2017-04-08 10:39:04 +02:00
strongswan.conf.j2 write logs to file if BSD only 2017-04-17 18:12:38 +02:00