openvpn: distinction odlyd/titanic
This commit is contained in:
parent
34d237bf45
commit
c5cb64f7df
5 changed files with 11 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sysctl net.ipv4.conf.tun-soyouz.forwarding=1
|
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
|
||||||
|
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/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
|
sysctl net.ipv4.conf.tun-soyouz.forwarding=0
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
arp -i crans.2 -d 10.231.136.108 pub
|
||||||
|
sysctl net.ipv4.conf.tun-soyouz.forwarding=0
|
|
@ -3,7 +3,7 @@
|
||||||
header("Configuration des tunnels a lancer par defauts")
|
header("Configuration des tunnels a lancer par defauts")
|
||||||
|
|
||||||
@# Il faut pourvoir lancer le script /usr/share/openvpn/verify-cn
|
@# Il faut pourvoir lancer le script /usr/share/openvpn/verify-cn
|
||||||
@OPTARGS="--script-security 2"
|
@OPTARGS="--script-security 3"
|
||||||
|
|
||||||
if has("external"):
|
if has("external"):
|
||||||
@AUTOSTART="odlyd"
|
@AUTOSTART="odlyd"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue