Contents

VPN.IPSec

The dictionary to use for an IPSec VPN type.

Declaration

object VPN.IPSec

Properties

NameTypeDescription
AuthenticationMethodstring

The authentication method for L2TP and Cisco IPSec.

DisconnectOnIdleinteger

If 1, disconnect after an on-demand connection idles.

DisconnectOnIdleTimerinteger

The length of time to wait before disconnecting an on-demand connection.

LocalIdentifierstring

The name of the group. For hybrid authentication, the string needs to end with “hybrid”.

Present only for Cisco IPSec if AuthenticationMethod is SharedSecret.

LocalIdentifierTypestring

Present only if AuthenticationMethod is SharedSecret. The value is KeyID. The system uses this value for L2TP and Cisco IPSec VPNs.

OnDemandEnabledinteger

If 1, enables bringing the VPN connection up on demand.

OnDemandMatchDomainsAlways[string]

Deprecated. A list of domain names. In iOS 7 and later, if this key is present, the system treats associated domain names as though they’re associated with the OnDemandMatchDomainsOnRetry key. This behavior can be overridden by OnDemandRules.

OnDemandMatchDomainsNever[string]

Deprecated. A list of domain names. In iOS 7 and later, this key is deprecated (but still supported) in favor of EvaluateConnection actions in the OnDemandRules dictionaries.

OnDemandMatchDomainsOnRetry[string]

Deprecated. A list of domain names. In iOS 7 and later, this field is deprecated (but still supported) in favor of EvaluateConnection actions in the OnDemandRules dictionaries.

OnDemandRules[VPN.VPN.OnDemandRulesElement]

The on-demand rules dictionary.

PayloadCertificateUUIDstring

The UUID of the certificate payload within the same profile to use for the account credentials.

Only use this with Cisco IPSec VPNs and if the AuthenticationMethod key is to Certificate.

PromptForVPNPINboolean

If true, prompts for a PIN when connecting to Cisco IPSec VPNs.

RemoteAddressstring

The IP address or host name of the VPN server.

SharedSecretdata

The shared secret for this VPN account.

Only use this with L2TP and Cisco IPSec VPNs and if the AuthenticationMethod key is to SharedSecret.

XAuthEnabledinteger

If 1, enables Xauth for Cisco IPSec VPNs.

XAuthNamestring

The user name for the VPN account for Cisco IPSec.

XAuthPasswordstring

The VPN account password for Cisco IPSec.

XAuthPasswordEncryptionstring

A string that either has the value “Prompt” or isn’t present.

See Also

Objects