Hi,
We are trying to implement Aloways on vpn(IKEv2) in a slightly different way. Since there
are problems about the implementation of Maildomains and CalendarDomains in Applayer VPN (per app vpn: https://developer.apple.com/forums/thread/676815 )
we are trying to make whole vpn behave as per app.
By adding onDemandRules (with "ConnectIfNeeded"), the particular domains trigger the vpn connection. However
the same method to stop the vpn connection on specific domains does not work(with "NeverConnect").
For testing purposes, we have included two domains. If they are loaded from Safari, the VPN should stop its
connection, however, once the connection started by provided "ConnectIfNeed" domains, the connection never stops.
The profile is also provided below. Any help or advice is appreciated. Thanks in advance.
language
dict
keyIKEv2/key
dict
keyAuthenticationMethod/key
stringCertificate/string
keyChildSecurityAssociationParameters/key
dict
keyDiffieHellmanGroup/key
integer14/integer
keyEncryptionAlgorithm/key
string3DES/string
keyIntegrityAlgorithm/key
stringSHA1-96/string
keyLifeTimeInMinutes/key
integer1440/integer
/dict
keyDeadPeerDetectionRate/key
stringMedium/string
keyDisableMOBIKE/key
integer0/integer
keyDisableRedirect/key
integer0/integer
keyEnableCertificateRevocationCheck/key
integer0/integer
keyEnablePFS/key
integer1/integer
keyIKESecurityAssociationParameters/key
dict
keyDiffieHellmanGroup/key
integer14/integer
keyEncryptionAlgorithm/key
string3DES/string
keyIntegrityAlgorithm/key
stringSHA1-96/string
keyLifeTimeInMinutes/key
integer1440/integer
/dict
keyOnDemandEnabled/key
integer1/integer
keyLocalIdentifier/key
stringuser@example.com/string
keyPayloadCertificateUUID/key
stringd7aee729-ebca-4f2a-a137-efda5a9f219f/string
keyRemoteAddress/key
stringvpn.example.com/string
keyRemoteIdentifier/key
stringvpn.example.com/string
keyUseConfigurationAttributeInternalIPSubnet/key
integer0/integer
keyDisconnectOnIdle/key
integer1/integer
keyOnDemandRules/key
array
dict
keyAction/key
stringEvaluateConnection/string
keyActionParameters/key
array
dict
keyDomains/key
array
stringinternal.lan/string
stringoutlook.internal.lan/string
/array
keyDomainAction/key
stringConnectIfNeeded/string
/dict
/array
/dict
dict
keyAction/key
stringEvaluateConnection/string
keyActionParameters/key
array
dict
keyDomains/key
array
stringwww.google.com/string
stringwww.bing.com/string
/array
keyDomainAction/key
stringNeverConnect/string
/dict
/array
/dict
/array
/dict
1
0
843