Can you tell me about the VPN on-demand network detection stage please.
I use L2TP and my VPN on-demand OnDemandRules are set up as follows:
The documentation (https://support.apple.com/guide/deployment-reference-ios/stages-iordfafc6ead/web) says "VPN On Demand rules are evaluated when the device’s primary network interface changes—such as when an Apple device changes to a different Wi-Fi network, or switches from Wi-Fi to cellular (in iOS and iPadOS) or Ethernet (in macOS).".
I'd like to know when VPN on-demand rules are evaluated except in these two cases("when an Apple device changes to a different Wi-Fi network" and "switches from Wi-Fi to cellular (in iOS and iPadOS) or Ethernet (in macOS)").
What are the specific cases in which VPN on-demand rules are evaluated?
For example, "When a PUSH notification is received" or "When the device is unlocked".
I checked the behavior of "On receiving a PUSH notification" and confirmed that it changes from VPN disconnected state to VPN connected state.
Are there any other cases where VPN on-demand rules are evaluated other than "On receiving a PUSH notification"?
I want to know when the VPN will be reconnected because if the VPN is disconnected for any reason, the SIP Phone app will not be able to receive calls.
Maybe I should use a Always-on VPN, but since I can't manage my devices with MDM, I'm considering using VPN on demand instead.
Thank you.
I use L2TP and my VPN on-demand OnDemandRules are set up as follows:
Code Block <key>OnDemandRules</key> <array> <dict> <key>Action</key> <string>Connect</string> </dict> </array>
The documentation (https://support.apple.com/guide/deployment-reference-ios/stages-iordfafc6ead/web) says "VPN On Demand rules are evaluated when the device’s primary network interface changes—such as when an Apple device changes to a different Wi-Fi network, or switches from Wi-Fi to cellular (in iOS and iPadOS) or Ethernet (in macOS).".
I'd like to know when VPN on-demand rules are evaluated except in these two cases("when an Apple device changes to a different Wi-Fi network" and "switches from Wi-Fi to cellular (in iOS and iPadOS) or Ethernet (in macOS)").
What are the specific cases in which VPN on-demand rules are evaluated?
For example, "When a PUSH notification is received" or "When the device is unlocked".
I checked the behavior of "On receiving a PUSH notification" and confirmed that it changes from VPN disconnected state to VPN connected state.
Are there any other cases where VPN on-demand rules are evaluated other than "On receiving a PUSH notification"?
I want to know when the VPN will be reconnected because if the VPN is disconnected for any reason, the SIP Phone app will not be able to receive calls.
Maybe I should use a Always-on VPN, but since I can't manage my devices with MDM, I'm considering using VPN on demand instead.
Thank you.