public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] openvpn: Apply static routes when N2N connection comes up
@ 2015-10-30 16:00 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2015-10-30 16:00 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

Fixes: #10968

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 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{'NAME'}"){mkdir "${General
   print SERVERCONF "ifconfig $ovsubnet.1 $ovsubnet.2\n"; 
   print SERVERCONF "# Client Gateway Network\n"; 
   print SERVERCONF "route $remsubnet[0] $remsubnet[1]\n";
+  print SERVERCONF "up /etc/init.d/static-routes start\n";
   print SERVERCONF "# tun Device\n"; 
   print SERVERCONF "dev tun\n"; 
   print SERVERCONF "#Logfile for statistics\n";
-- 
2.4.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-30 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30 16:00 [PATCH] openvpn: Apply static routes when N2N connection comes up Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox