mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Some improvements in the mobileconfig. Fixes #270
This commit is contained in:
parent
045ff4bb9f
commit
49ba1f76b4
2 changed files with 6 additions and 6 deletions
4
algo
4
algo
|
@ -7,13 +7,13 @@ SKIP_TAGS="_null encrypted"
|
|||
additional_roles () {
|
||||
|
||||
read -p "
|
||||
Do you want to enable VPN Always-On when connected to cellular networks?
|
||||
Do you want to enable VPN On Demand when connected to cellular networks?
|
||||
[y/N]: " -r OnDemandEnabled_Cellular
|
||||
OnDemandEnabled_Cellular=${OnDemandEnabled_Cellular:-n}
|
||||
if [[ "$OnDemandEnabled_Cellular" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" OnDemandEnabled_Cellular=Y"; fi
|
||||
|
||||
read -p "
|
||||
Do you want to enable VPN Always-On when connected to Wi-Fi?
|
||||
Do you want to enable VPN On Demand when connected to Wi-Fi?
|
||||
[y/N]: " -r OnDemandEnabled_WIFI
|
||||
OnDemandEnabled_WIFI=${OnDemandEnabled_WIFI:-n}
|
||||
if [[ "$OnDemandEnabled_WIFI" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" OnDemandEnabled_WIFI=Y"; fi
|
||||
|
|
|
@ -62,14 +62,14 @@
|
|||
<key>IntegrityAlgorithm</key>
|
||||
<string>SHA2-256</string>
|
||||
<key>LifeTimeInMinutes</key>
|
||||
<integer>1440</integer>
|
||||
<integer>20</integer>
|
||||
</dict>
|
||||
<key>DeadPeerDetectionRate</key>
|
||||
<string>Medium</string>
|
||||
<key>DisableMOBIKE</key>
|
||||
<integer>0</integer>
|
||||
<key>DisableRedirect</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
<key>EnableCertificateRevocationCheck</key>
|
||||
<integer>0</integer>
|
||||
<key>EnablePFS</key>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<key>IntegrityAlgorithm</key>
|
||||
<string>SHA2-256</string>
|
||||
<key>LifeTimeInMinutes</key>
|
||||
<integer>1440</integer>
|
||||
<integer>20</integer>
|
||||
</dict>
|
||||
<key>LocalIdentifier</key>
|
||||
<string>{{ item.0 }}</string>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<string>ECDSA256</string>
|
||||
{% endif %}
|
||||
<key>ServerCertificateIssuerCommonName</key>
|
||||
<string>{{ IP_subject_alt_name }}</string>
|
||||
<string>{{ IP_subject_alt_name }}</string>
|
||||
<key>RemoteAddress</key>
|
||||
<string>{{ IP_subject_alt_name }}</string>
|
||||
<key>RemoteIdentifier</key>
|
||||
|
|
Loading…
Add table
Reference in a new issue