From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] openvpn: Apply static routes when N2N connection comes up Date: Fri, 30 Oct 2015 16:00:28 +0000 Message-ID: <1446220828-25478-1-git-send-email-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2145050433069193586==" List-Id: --===============2145050433069193586== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fixes: #10968 Signed-off-by: Michael Tremer --- html/cgi-bin/ovpnmain.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 9e252a9..54237b9 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -926,6 +926,7 @@ unless(-d "${General::swroot}/ovpn/n2nconf/$cgiparams{'NA= ME'}"){mkdir "${General print SERVERCONF "ifconfig $ovsubnet.1 $ovsubnet.2\n";=20 print SERVERCONF "# Client Gateway Network\n";=20 print SERVERCONF "route $remsubnet[0] $remsubnet[1]\n"; + print SERVERCONF "up /etc/init.d/static-routes start\n"; print SERVERCONF "# tun Device\n";=20 print SERVERCONF "dev tun\n";=20 print SERVERCONF "#Logfile for statistics\n"; --=20 2.4.4 --===============2145050433069193586==--