-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprofile-psk.xml
97 lines (97 loc) · 3.96 KB
/
profile-psk.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadDisplayName</key>
<string>${PROFILE_NAME} (${REMOTE_ADDRESS})</string>
<key>PayloadDescription</key>
<string>Configures VPN (IKEv2) settings for ${REMOTE_ADDRESS}</string>
<key>PayloadIdentifier</key>
<string>${PROFILE_ID}</string>
<key>PayloadUUID</key>
<string>${PROFILE_UUID}</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadContent</key>
<array>
<dict>
<key>UserDefinedName</key>
<string>${SERVICE_NAME_ALT}</string>
<key>PayloadDisplayName</key>
<string>${SERVICE_NAME}</string>
<key>PayloadIdentifier</key>
<string>${SERVICE_ID}</string>
<key>PayloadUUID</key>
<string>${SERVICE_UUID}</string>
<key>PayloadType</key>
<string>com.apple.vpn.managed</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>VPNType</key>
<string>IKEv2</string>
<key>IKEv2</key>
<dict>
<key>OnDemandEnabled</key>
<false/>
<key>OnDemandRules</key>
<array>
<dict>
<key>Action</key>
<string>Connect</string>
</dict>
</array>
<key>RemoteAddress</key>
<string>${REMOTE_ADDRESS}</string>
<key>RemoteIdentifier</key>
<string>${REMOTE_ID}</string>
<key>LocalIdentifier</key>
<string>${LOCAL_ID}</string>
<key>AuthenticationMethod</key>
<string>SharedSecret</string>
<key>SharedSecret</key>
<string>${SHARED_SECRET}</string>
<key>DeadPeerDetectionRate</key>
<string>High</string>
<key>EnablePFS</key>
<true/>
<key>IKESecurityAssociationParameters</key>
<dict>
<key>EncryptionAlgorithm</key>
<string>AES-256-GCM</string>
<key>IntegrityAlgorithm</key>
<string>SHA2-384</string>
<key>DiffieHellmanGroup</key>
<integer>20</integer>
</dict>
<key>ChildSecurityAssociationParameters</key>
<dict>
<key>EncryptionAlgorithm</key>
<string>AES-256-GCM</string>
<key>IntegrityAlgorithm</key>
<string>SHA2-384</string>
<key>DiffieHellmanGroup</key>
<integer>20</integer>
</dict>
</dict>
<key>DNS</key>
<dict>
<key>ServerAddresses</key>
<array>
<!-- Cloudflare -->
<string>1.1.1.1</string>
<string>1.0.0.1</string>
<string>2606:4700:4700::1111</string>
<string>2606:4700:4700::1001</string>
<!-- Quad9 -->
<string>9.9.9.9</string>
<string>149.112.112.112</string>
<string>2620:fe::fe</string>
<string>2620:fe::9</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>