ergosteur

ergosteur / IPv4 iOS mobileconfig

Last active 1 month ago

Like 0

IPv4 mobileconfig files for Canadian cellular carriers for forcing IPv4 on cellular data APN to resolve VPN connectivity issues - https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1Ki000000fxlXKAQ&lang=en_US

ergosteur revised this gist 1 month ago · 09e25c2

4 files changed, 319 insertions

Bell Mobility-IPv4.mobileconfig (file created)
@@ -0,0 +1,85 @@
1 + <?xml version="1.0" encoding="UTF-8"?>
2 + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 + <plist version="1.0">
4 + <dict>
5 + <key>PayloadContent</key>
6 + <array>
7 + <dict>
8 + <!-- Configures the initial network connection APN -->
9 + <key>AttachAPN</key>
10 + <dict>
11 + <key>Name</key>
12 + <string>pda.bell.ca</string>
13 + <!-- Use IPv4 only (value 1) -->
14 + <key>AllowedProtocolMask</key>
15 + <integer>1</integer>
16 + </dict>
17 + <!-- Overrides specific settings for Data and Hotspot APNs -->
18 + <key>APNs</key>
19 + <array>
20 + <!-- Primary Bell Smartphone Data settings -->
21 + <dict>
22 + <key>Name</key>
23 + <string>pda.bell.ca</string>
24 + <!-- Ensure IPv4 is used for data and roaming -->
25 + <key>AllowedProtocolMask</key>
26 + <integer>1</integer>
27 + <key>AllowedProtocolMaskInRoaming</key>
28 + <integer>1</integer>
29 + <key>AllowedProtocolMaskInDomesticRoaming</key>
30 + <integer>1</integer>
31 + </dict>
32 + <!-- Secondary/Tethering settings (inet.bell.ca) -->
33 + <dict>
34 + <key>Name</key>
35 + <string>inet.bell.ca</string>
36 + <!-- Ensure IPv4 is used for tethering/alt data -->
37 + <key>AllowedProtocolMask</key>
38 + <integer>1</integer>
39 + <key>AllowedProtocolMaskInRoaming</key>
40 + <integer>1</integer>
41 + <key>AllowedProtocolMaskInDomesticRoaming</key>
42 + <integer>1</integer>
43 + </dict>
44 + <!-- Alternate Smartphone Data settings (pda2.bell.ca) -->
45 + <dict>
46 + <key>Name</key>
47 + <string>pda2.bell.ca</string>
48 + <!-- Ensure IPv4 is used for alternate data APN -->
49 + <key>AllowedProtocolMask</key>
50 + <integer>1</integer>
51 + <key>AllowedProtocolMaskInRoaming</key>
52 + <integer>1</integer>
53 + <key>AllowedProtocolMaskInDomesticRoaming</key>
54 + <integer>1</integer>
55 + </dict>
56 + </array>
57 + <key>PayloadDescription</key>
58 + <string>Configures Bell Mobility Data and Hotspot (Strict IPv4)</string>
59 + <key>PayloadDisplayName</key>
60 + <string>Bell Mobility APN (IPv4)</string>
61 + <key>PayloadIdentifier</key>
62 + <string>com.bell.apn.config</string>
63 + <key>PayloadType</key>
64 + <string>com.apple.cellular</string>
65 + <key>PayloadUUID</key>
66 + <string>8f2e91bb-a4bf-4725-8ee3-b311b311b311</string>
67 + <key>PayloadVersion</key>
68 + <integer>1</integer>
69 + </dict>
70 + </array>
71 + <key>PayloadDisplayName</key>
72 + <string>Bell Mobility Settings (IPv4 Only)</string>
73 + <key>PayloadIdentifier</key>
74 + <string>com.bell.profile</string>
75 + <!-- Allows the user to remove this profile -->
76 + <key>PayloadRemovalDisallowed</key>
77 + <false/>
78 + <key>PayloadType</key>
79 + <string>Configuration</string>
80 + <key>PayloadUUID</key>
81 + <string>2d08e545-7b7a-47f4-95f0-b311ce11b311</string>
82 + <key>PayloadVersion</key>
83 + <integer>1</integer>
84 + </dict>
85 + </plist>
Fido-IPv4.mobileconfig (file created)
@@ -0,0 +1,73 @@
1 + <?xml version="1.0" encoding="UTF-8"?>
2 + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 + <plist version="1.0">
4 + <dict>
5 + <key>PayloadContent</key>
6 + <array>
7 + <dict>
8 + <!-- Configures the initial network connection APN -->
9 + <key>AttachAPN</key>
10 + <dict>
11 + <key>Name</key>
12 + <string>fido-core-appl1.apn</string>
13 + <!-- Use IPv4 only (value 1) -->
14 + <key>AllowedProtocolMask</key>
15 + <integer>1</integer>
16 + </dict>
17 + <!-- Overrides specific settings for Data and Hotspot APNs -->
18 + <key>APNs</key>
19 + <array>
20 + <!-- Primary Fido LTE Data settings -->
21 + <dict>
22 + <key>Name</key>
23 + <string>fido-core-appl1.apn</string>
24 + <!-- Ensure IPv4 is used for data and roaming -->
25 + <key>AllowedProtocolMask</key>
26 + <integer>1</integer>
27 + <key>AllowedProtocolMaskInRoaming</key>
28 + <integer>1</integer>
29 + <key>AllowedProtocolMaskInDomesticRoaming</key>
30 + <integer>1</integer>
31 + </dict>
32 + <!-- Alternate/Tethering settings (covers ltemobile.apn just in case) -->
33 + <dict>
34 + <key>Name</key>
35 + <string>ltemobile.apn</string>
36 + <!-- Ensure IPv4 is used for tethering/alt data -->
37 + <key>AllowedProtocolMask</key>
38 + <integer>1</integer>
39 + <key>AllowedProtocolMaskInRoaming</key>
40 + <integer>1</integer>
41 + <key>AllowedProtocolMaskInDomesticRoaming</key>
42 + <integer>1</integer>
43 + </dict>
44 + </array>
45 + <key>PayloadDescription</key>
46 + <string>Configures Fido Data and Hotspot (Strict IPv4)</string>
47 + <key>PayloadDisplayName</key>
48 + <string>Fido APN (IPv4)</string>
49 + <key>PayloadIdentifier</key>
50 + <string>com.fido.apn.config</string>
51 + <key>PayloadType</key>
52 + <string>com.apple.cellular</string>
53 + <key>PayloadUUID</key>
54 + <string>8f2e91bb-a4bf-4725-8ee3-f1d0f1d0f1d0</string>
55 + <key>PayloadVersion</key>
56 + <integer>1</integer>
57 + </dict>
58 + </array>
59 + <key>PayloadDisplayName</key>
60 + <string>Fido Settings (IPv4 Only)</string>
61 + <key>PayloadIdentifier</key>
62 + <string>com.fido.profile</string>
63 + <!-- Allows the user to remove this profile -->
64 + <key>PayloadRemovalDisallowed</key>
65 + <false/>
66 + <key>PayloadType</key>
67 + <string>Configuration</string>
68 + <key>PayloadUUID</key>
69 + <string>2d08e545-7b7a-47f4-95f0-f1d0d00dbeef</string>
70 + <key>PayloadVersion</key>
71 + <integer>1</integer>
72 + </dict>
73 + </plist>
Fizz Mobile-IPv4.mobileconfig (file created)
@@ -0,0 +1,61 @@
1 + <?xml version="1.0" encoding="UTF-8"?>
2 + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 + <plist version="1.0">
4 + <dict>
5 + <key>PayloadContent</key>
6 + <array>
7 + <dict>
8 + <!-- Configures the initial network connection APN -->
9 + <key>AttachAPN</key>
10 + <dict>
11 + <key>Name</key>
12 + <string>mobile.videotron</string>
13 + <!-- Use IPv4 only (value 1) -->
14 + <key>AllowedProtocolMask</key>
15 + <integer>1</integer>
16 + </dict>
17 + <!-- Overrides specific settings for Data and Hotspot APNs -->
18 + <key>APNs</key>
19 + <array>
20 + <!-- Primary Fizz/Videotron Data settings -->
21 + <dict>
22 + <key>Name</key>
23 + <string>mobile.videotron</string>
24 + <!-- Ensure IPv4 is used for data and roaming -->
25 + <key>AllowedProtocolMask</key>
26 + <integer>1</integer>
27 + <key>AllowedProtocolMaskInRoaming</key>
28 + <integer>1</integer>
29 + <key>AllowedProtocolMaskInDomesticRoaming</key>
30 + <integer>1</integer>
31 + </dict>
32 + </array>
33 + <key>PayloadDescription</key>
34 + <string>Configures Fizz Mobile Data and Hotspot (Strict IPv4)</string>
35 + <key>PayloadDisplayName</key>
36 + <string>Fizz Mobile APN (IPv4)</string>
37 + <key>PayloadIdentifier</key>
38 + <string>com.fizz.apn.config</string>
39 + <key>PayloadType</key>
40 + <string>com.apple.cellular</string>
41 + <key>PayloadUUID</key>
42 + <string>8f2e91bb-a4bf-4725-8ee3-f122f122f122</string>
43 + <key>PayloadVersion</key>
44 + <integer>1</integer>
45 + </dict>
46 + </array>
47 + <key>PayloadDisplayName</key>
48 + <string>Fizz Mobile Settings (IPv4 Only)</string>
49 + <key>PayloadIdentifier</key>
50 + <string>com.fizz.profile</string>
51 + <!-- Allows the user to remove this profile -->
52 + <key>PayloadRemovalDisallowed</key>
53 + <false/>
54 + <key>PayloadType</key>
55 + <string>Configuration</string>
56 + <key>PayloadUUID</key>
57 + <string>2d08e545-7b7a-47f4-95f0-f122da7af122</string>
58 + <key>PayloadVersion</key>
59 + <integer>1</integer>
60 + </dict>
61 + </plist>
Public Mobile-IPv4-plus-Quad9_DNS.mobileconfig (file created)
@@ -0,0 +1,100 @@
1 + <?xml version="1.0" encoding="UTF-8"?>
2 + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 + <plist version="1.0">
4 + <dict>
5 + <key>PayloadScope</key>
6 + <string>System</string>
7 + <key>PayloadContent</key>
8 + <array>
9 + <!-- PAYLOAD 1: DNS SETTINGS (Quad9 ECS) -->
10 + <dict>
11 + <key>PayloadDescription</key>
12 + <string>Configures Quad9 (ECS) Encrypted DNS</string>
13 + <key>PayloadDisplayName</key>
14 + <string>Quad9 DNS (DoH)</string>
15 + <key>PayloadIdentifier</key>
16 + <string>com.quad9.dns.config</string>
17 + <key>PayloadType</key>
18 + <string>com.apple.dnsSettings.managed</string>
19 + <key>PayloadUUID</key>
20 + <string>8f2e91bb-a4bf-4725-8ee3-d04d04d04d04</string>
21 + <key>PayloadVersion</key>
22 + <integer>1</integer>
23 + <key>DNSSettings</key>
24 + <dict>
25 + <key>DNSProtocol</key>
26 + <string>HTTPS</string>
27 + <key>ServerURL</key>
28 + <string>https://dns11.quad9.net/dns-query</string>
29 + <key>ServerAddresses</key>
30 + <array>
31 + <string>9.9.9.11</string>
32 + <string>149.112.112.11</string>
33 + </array>
34 + </dict>
35 + <key>ProhibitDisablement</key>
36 + <false/>
37 + </dict>
38 +
39 + <!-- PAYLOAD 2: APN SETTINGS (Strict IPv4) -->
40 + <dict>
41 + <key>AttachAPN</key>
42 + <dict>
43 + <key>Name</key>
44 + <string>sp.mb.com</string>
45 + <!-- Protocol Mask: 1 = IPv4 Only -->
46 + <key>AllowedProtocolMask</key>
47 + <integer>1</integer>
48 + </dict>
49 + <key>APNs</key>
50 + <array>
51 + <dict>
52 + <key>Name</key>
53 + <string>sp.mb.com</string>
54 + <key>AllowedProtocolMask</key>
55 + <integer>1</integer>
56 + <key>AllowedProtocolMaskInRoaming</key>
57 + <integer>1</integer>
58 + <key>AllowedProtocolMaskInDomesticRoaming</key>
59 + <integer>1</integer>
60 + </dict>
61 + <dict>
62 + <key>Name</key>
63 + <string>isp.mb.com</string>
64 + <key>AllowedProtocolMask</key>
65 + <integer>1</integer>
66 + <key>AllowedProtocolMaskInRoaming</key>
67 + <integer>1</integer>
68 + <key>AllowedProtocolMaskInDomesticRoaming</key>
69 + <integer>1</integer>
70 + </dict>
71 + </array>
72 + <key>PayloadDescription</key>
73 + <string>Configures Public Mobile Data and Hotspot (Strict IPv4)</string>
74 + <key>PayloadDisplayName</key>
75 + <string>Public Mobile APN (IPv4)</string>
76 + <key>PayloadIdentifier</key>
77 + <string>com.publicmobile.apn.ipv4</string>
78 + <key>PayloadType</key>
79 + <string>com.apple.cellular</string>
80 + <key>PayloadUUID</key>
81 + <string>8f2e91bb-a4bf-4725-8ee3-ce11ce11ce11</string>
82 + <key>PayloadVersion</key>
83 + <integer>1</integer>
84 + </dict>
85 + </array>
86 +
87 + <key>PayloadDisplayName</key>
88 + <string>Public Mobile IPv4 + Quad9 DNS</string>
89 + <key>PayloadIdentifier</key>
90 + <string>com.publicmobile.quad9.profile</string>
91 + <key>PayloadRemovalDisallowed</key>
92 + <false/>
93 + <key>PayloadType</key>
94 + <string>Configuration</string>
95 + <key>PayloadUUID</key>
96 + <string>8f2e91bb-a4bf-4725-8ee3-999119991100</string>
97 + <key>PayloadVersion</key>
98 + <integer>1</integer>
99 + </dict>
100 + </plist>