PatrickRe

Q: CalDAV/CardDAV via VPN on demand

Hello everyone!

 

For several months I have a working VPN-on-demand setup that matches my internal domain, let's say it's '.myint':

 

<dict>
<key>Action</key>
<string>EvaluateConnection</string>
<key>ActionParameters</key>
<array>
<dict>
<key>Domains</key>
<array>
<string>myint</string>
</array>
<key>DomainAction</key>
<string>ConnectIfNeeded</string>
</dict>
</array>
</dict>

 

This works perfectly in any app and Safari: Opening a connection to host.myint instantly starts the VPN connection. For CalDAV and CardDAV-Accounts, however, it does not work. The accounts are set to sync every 15 minutes but this only happens when the VPN connection is already established.

 

Patrick

Posted on Oct 18, 2015 8:11 AM