From: Michael Tremer Date: Thu, 20 May 2021 09:26:13 +0000 (+0000) Subject: Revert "IPsec: Ensure that iOS VPNs are always connected" X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08fa1272d2ce11bc887d97ffa8f212442443e7dc;p=people%2Fstevee%2Fipfire-2.x.git Revert "IPsec: Ensure that iOS VPNs are always connected" This reverts commit 8ce6222a1002a669cb511ba75b9e4e57810a4432. Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 2b17c2a891..9c5532d689 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -1440,17 +1440,11 @@ END print " ExtendedAuthEnabled\n"; print " 0\n"; - # Connect the VPN automatically - print " OnDemandEnabled\n"; - print " 1\n"; - print " OnDemandRules\n"; - print " \n"; - print " \n"; - print " Action\n"; - print " Connect\n"; - print " \n"; - print " \n"; - + # These are not needed, but we provide some default to stop iPhone asking for credentials + print " AuthName\n"; + print " $confighash{$key}[1]\n"; + print " AuthPassword\n"; + print " \n"; print " \n"; print " \n";