mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
IPsec: Ensure that iOS VPNs are always connected
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1421,6 +1421,18 @@ END
|
||||
print " <string>$confighash{$key}[1]</string>\n";
|
||||
print " <key>AuthPassword</key>\n";
|
||||
print " <string></string>\n";
|
||||
|
||||
# Connect the VPN automatically
|
||||
print " <key>OnDemandEnabled</key>\n";
|
||||
print " <integer>1</integer>\n";
|
||||
print " <key>OnDemandRules</key>\n";
|
||||
print " <array>\n";
|
||||
print " <dict>\n";
|
||||
print " <key>Action</key>\n";
|
||||
print " <string>Connect</string>\n";
|
||||
print " </dict>\n";
|
||||
print " </array>\n";
|
||||
|
||||
print " </dict>\n";
|
||||
print " </dict>\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user