From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 13/16] IPsec: Ensure that iOS VPNs are always connected Date: Thu, 28 May 2020 17:58:47 +0000 Message-ID: <20200528175850.12638-14-michael.tremer@ipfire.org> In-Reply-To: <20200528175850.12638-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0667642036631406085==" List-Id: --===============0667642036631406085== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Michael Tremer --- html/cgi-bin/vpnmain.cgi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 9353a2f0d..1e4115e95 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -1421,6 +1421,18 @@ END print " $confighash{$key}[1]\n"; print " AuthPassword\n"; print " \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"; + print " \n"; print " \n"; -- 2.20.1 --===============0667642036631406085==--