openvpn: distinction odlyd/titanic

This commit is contained in:
Daniel STAN 2015-02-04 18:47:04 +01:00
parent 34d237bf45
commit c5cb64f7df
5 changed files with 11 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
sysctl net.ipv4.conf.tun-soyouz.forwarding=1
arp -i crans.2 -Ds 10.231.136.108 crans.2 pub
arp -i eth1 -Ds 10.231.136.108 eth1 pub

View file

@ -0,0 +1,4 @@
#!/bin/sh
sysctl net.ipv4.conf.tun-soyouz.forwarding=1
arp -i crans.2 -Ds 10.231.136.108 crans.2 pub

View file

@ -1,4 +1,4 @@
#!/bin/sh
arp -i crans.2 -d 10.231.136.108 pub
arp -i eth1 -d 10.231.136.108 pub
sysctl net.ipv4.conf.tun-soyouz.forwarding=0

View file

@ -0,0 +1,4 @@
#!/bin/sh
arp -i crans.2 -d 10.231.136.108 pub
sysctl net.ipv4.conf.tun-soyouz.forwarding=0

View file

@ -3,7 +3,7 @@
header("Configuration des tunnels a lancer par defauts")
@# Il faut pourvoir lancer le script /usr/share/openvpn/verify-cn
@OPTARGS="--script-security 2"
@OPTARGS="--script-security 3"
if has("external"):
@AUTOSTART="odlyd"