« /etc/openvpn/openvpn.conf » : différence entre les versions

De HackBBS
Aller à la navigation Aller à la recherche
Page créée avec « local ctf.hackbbs.org port 1701 proto udp dev tap0 mode server tls-server tun-mtu 1500 auth-nocache ping 10 #ping-restart 60 mssfix persist-key persist-tun ca /etc/openvpn/ca... »
 
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
local ctf.hackbbs.org
local ctf.hackbbs.org
port 1701
port 1701
proto udp
proto udp
dev tap0
dev tap0
mode server
mode server
tls-server
tls-server
tun-mtu 1500
tun-mtu 1500
auth-nocache
auth-nocache
ping 10
ping 10
#ping-restart 60
#ping-restart 60
mssfix
mssfix
persist-key
persist-key
persist-tun
persist-tun
ca /etc/openvpn/ca.crt
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key  # This file should be kept secret
key /etc/openvpn/server.key  # This file should be kept secret
dh /etc/openvpn/dh1024.pem
dh /etc/openvpn/dh1024.pem
 
server-bridge 172.31.38.1 255.255.255.0 172.31.38.2 172.31.38.254
server-bridge 172.31.38.1 255.255.255.0 172.31.38.2 172.31.38.254
ifconfig 172.31.38.1 255.255.0.0
 
ifconfig-pool-persist /etc/openvpn/ipp.txt
ifconfig 172.31.38.1 255.255.0.0
client-config-dir ccd
ifconfig-pool-persist /etc/openvpn/ipp.txt
ccd-exclusive
client-config-dir ccd
push "route 172.31.0.0 255.255.0.0"
ccd-exclusive
push "route 10.100.0.0 255.252.0.0"
 
push "route-gateway 172.31.38.1"
push "route 172.31.0.0 255.255.0.0"
client-to-client
push "route 10.100.0.0 255.252.0.0"
#keepalive 10 120
push "route-gateway 172.31.38.1"
cipher BF-CBC
 
comp-lzo
client-to-client
max-clients 15
#keepalive 10 120
chroot /etc/openvpn/
 
status /var/log/openvpn_status.log
cipher BF-CBC
log-append /var/log/openvpn.log
comp-lzo
verb 1
max-clients 15
mute 10
chroot /etc/openvpn/
status /var/log/openvpn_status.log
log-append /var/log/openvpn.log
verb 1
mute 10

Dernière version du 15 avril 2011 à 17:24

local ctf.hackbbs.org
port 1701
proto udp
dev tap0
mode server
tls-server
tun-mtu 1500
auth-nocache
ping 10
#ping-restart 60
mssfix
persist-key
persist-tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key  # This file should be kept secret
dh /etc/openvpn/dh1024.pem
server-bridge 172.31.38.1 255.255.255.0 172.31.38.2 172.31.38.254
ifconfig 172.31.38.1 255.255.0.0
ifconfig-pool-persist /etc/openvpn/ipp.txt
client-config-dir ccd
ccd-exclusive
push "route 172.31.0.0 255.255.0.0"
push "route 10.100.0.0 255.252.0.0"
push "route-gateway 172.31.38.1"
client-to-client
#keepalive 10 120
cipher BF-CBC
comp-lzo
max-clients 15
chroot /etc/openvpn/
status /var/log/openvpn_status.log
log-append /var/log/openvpn.log
verb 1
mute 10