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