Openvpn



příklad konfigurace:

Server
mode server
tls-server
port 5555
proto udp
keepalive 10 120
tls-auth /etc/openvpn/keys/ta.key 0
dev tun
server 10.10.14.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/ipp.txt
client-to-client
ca /etc/openvpn/keys/ca.crt     
cert /etc/openvpn/keys/server.crt 
key /etc/openvpn/keys/server.key  
dh /etc/openvpn/keys/dh1024.pem
push "route 192.168.111.0 255.255.255.0"
push "dhcp-option DNS 192.168.111.21"
push "dhcp-option DOMAIN domain.local"
route-up "route delete -net 10.10.14.0/24"
route-up "route add -net 10.10.14.0/24 tun0"
persist-key
persist-tun
log-append /var/log/openvpn
status /var/log/openvpn-status
user openvpn
group openvpn
comp-lzo
verb 3



Stanice
client
port 5555
proto udp
dev tun
float
mssfix 1500
remote x.x.x.x
tls-client
tls-auth ta.key 1
ns-cert-type server
ca ca.crt
cert cert.crt
key cert.key
persist-key
persist-tun
pull
comp-lzo
verb 3
Last update:
2006-07-23 00:43
Author:
Daniel
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.