mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
openvpn-n2n: start/stop at connect/disconnect.
This commit is contained in:
@@ -4,7 +4,8 @@ etc/sysctl.conf
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/iproute2/rt_tables
|
||||
etc/rc.d/init.d/networking/red
|
||||
etc/rc.d/init.d/networking/red.up/50-ovpn
|
||||
etc/rc.d/init.d/networking/red.down/10-ovpn
|
||||
srv/web/ipfire/cgi-bin/extrahd.cgi
|
||||
srv/web/ipfire/cgi-bin/index.cgi
|
||||
srv/web/ipfire/cgi-bin/outgoinggrp.cgi
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/openvpnctrl -k &
|
||||
/usr/local/bin/openvpnctrl -kn2n &
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/openvpnctrl -s > /dev/null 2>&1
|
||||
/usr/local/bin/openvpnctrl -sn2n > /dev/null 2>&1
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user