Skip to content

Instantly share code, notes, and snippets.

@wzxjohn wzxjohn/vpn.mobileconfig Secret
Last active Aug 31, 2016

Embed
What would you like to do?
iOS 8 On-Demand IKEv2 VPN Profile
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>IKEv2</key>
<dict>
<key>AuthName</key>
<string>user1</string>
<key>AuthPassword</key>
<string>topsecretpassword</string>
<key>AuthenticationMethod</key>
<string>Certificate</string>
<key>ExtendedAuthEnabled</key>
<integer>1</integer>
<key>LocalIdentifier</key>
<string>user1@every.string.you.want</string>
<key>OnDemandEnabled</key>
<integer>0</integer>
<key>OnDemandRules</key>
<array>
<dict>
<key>Action</key>
<string>Connect</string>
</dict>
</array>
<key>RemoteAddress</key>
<string>your.server.domain</string>
<key>RemoteIdentifier</key>
<string>your.server.domain</string>
</dict>
<key>IPv4</key>
<dict>
<key>OverridePrimary</key>
<integer>1</integer>
</dict>
<key>PayloadDescription</key>
<string>Configures VPN settings, including authentication.</string>
<key>PayloadDisplayName</key>
<string>VPN</string>
<key>PayloadIdentifier</key>
<string>de.maoxian.ikev2.com.apple.vpn.managed.47B147B1-47B1-47B1-AE7F-47B196ACF67A</string>
<key>PayloadOrganization</key>
<string>maoxian.de</string>
<key>PayloadType</key>
<string>com.apple.vpn.managed</string>
<key>PayloadUUID</key>
<string>47B147B1-47B1-47B1-AE7F-47B196ACF67A</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>Proxies</key>
<dict>
<key>HTTPEnable</key>
<integer>0</integer>
<key>HTTPSEnable</key>
<integer>0</integer>
<key>ProxyAutoConfigEnable</key>
<integer>0</integer>
<key>ProxyAutoDiscoveryEnable</key>
<integer>0</integer>
</dict>
<key>UserDefinedName</key>
<string>VPN</string>
<key>VPNType</key>
<string>IKEv2</string>
</dict>
</array>
<key>PayloadDescription</key>
<string>Connection profiles for Orange VPN.</string>
<key>PayloadDisplayName</key>
<string>IKEV2 VPN Test</string>
<key>PayloadIdentifier</key>
<string>de.maoxian.ikev2</string>
<key>PayloadOrganization</key>
<string>OrangeVPN</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>B995B995-B995-43D6-B995-B995139131BD</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.