From 08fa1272d2ce11bc887d97ffa8f212442443e7dc Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 20 May 2021 09:26:13 +0000 Subject: [PATCH] Revert "IPsec: Ensure that iOS VPNs are always connected" This reverts commit 8ce6222a1002a669cb511ba75b9e4e57810a4432. Signed-off-by: Michael Tremer --- html/cgi-bin/vpnmain.cgi | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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"; -- 2.39.5