From patchwork Thu May 28 17:58:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3146 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 49XwSN0jkZz43xK for ; Thu, 28 May 2020 17:59:16 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49XwSH6bxrz3DD; Thu, 28 May 2020 17:59:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 49XwSH5BBvz2ysJ; Thu, 28 May 2020 17:59:11 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 49XwSB2bwFz2ysJ for ; Thu, 28 May 2020 17:59:06 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 49XwSB2FDKz2L5; Thu, 28 May 2020 17:59:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1590688746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PERO4IyCqpdHMRCmPc71dTu+2ddRCY7T0I5rvgEomjE=; b=oAi6+xpcUHEIp8Qkj+Lf7jv5lUlB8MAurEV0AhCyF8I+jDxOStTJTr0lzFF/KEJxKGNCMD q6nf9ebKFpH3xM3LQV7rqcJfaUmbMiFbvlr7XHS60cBgA6fhfP0XDndZWSanz4DYCDZHMI mkSjTtVnRerHTaagN8GQpjBdnk0s2FCcYUPoEjhed6dOxicm9/ZuEgtCeElPIsEAzH8Fdq 64yKgh/3mjdOoS7cmN9hRpcGroPKXKWH3vMd5uvMjoSLrz5aJGXOXLFMi0Z2xn7pT91bas EdiVK09TRjzf3nBcbHEeJkY8AsvXCufLq5LCFOX2NFfceS2bpSSFX8bHdHSSww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1590688746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PERO4IyCqpdHMRCmPc71dTu+2ddRCY7T0I5rvgEomjE=; b=IafAHegxj0Sm1SHFEGeCs9Jbznhd9I/JS4NPtNpeU3p9dgbpch+OGyvxQ5hPYsIIOIZpwY WbwCsA/S7H+54oCQ== 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> References: <20200528175850.12638-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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";