Parce que «Ça peut toujours servir»™ et que de toutes façons il y en a déjà des bouts qui sont dans le dépôt et que c'est chiant de git add -f.
Et puis bon, ça fait que 3Mo
This commit is contained in:
parent
29f50c2ed9
commit
3bde363deb
299 changed files with 17466 additions and 0 deletions
24
archive/openvpn/ovh.conf
Normal file
24
archive/openvpn/ovh.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
daemon server-ovh
|
||||
dev tun-ovh
|
||||
|
||||
up /etc/openvpn/ovh.up
|
||||
down /etc/openvp/ovh.down
|
||||
|
||||
tls-server
|
||||
log-append /var/log/openvpn/ovh.log
|
||||
|
||||
dh /etc/openvpn/dh1024.pem
|
||||
ca /etc/ssl/certs/cacert.org.pem
|
||||
cert /etc/ssl/certs/vpn.pem
|
||||
key /etc/ssl/private/vpn.pem
|
||||
tls-verify "/usr/share/openvpn/verify-cn ovh.vpn.crans.org"
|
||||
|
||||
port 1194
|
||||
|
||||
persist-tun
|
||||
ping 15
|
||||
ping-restart 45
|
||||
ping-timer-rem
|
||||
persist-key
|
||||
|
||||
verb 3
|
3
archive/openvpn/ovh.down
Executable file
3
archive/openvpn/ovh.down
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
IP_OVH=138.231.144.8
|
||||
ip neigh del proxy ${IP_OVH} dev crans.2
|
19
archive/openvpn/ovh.up
Executable file
19
archive/openvpn/ovh.up
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
IP_KOMAZ=138.231.144.4
|
||||
IP_OVH=138.231.144.8
|
||||
|
||||
INTERFACE=$1; shift;
|
||||
TUN_MTU=$1; shift;
|
||||
UDP_MTU=$1; shift;
|
||||
|
||||
ip link set ${INTERFACE} up
|
||||
ip link set mtu ${TUN_MTU} dev ${INTERFACE}
|
||||
|
||||
ip addr add ${IP_KOMAZ}/32 dev ${INTERFACE}
|
||||
ip route add ${IP_OVH} dev ${INTERFACE}
|
||||
ip neigh add proxy ${IP_OVH} dev crans.2
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue