Openvpn client

by bouleetbil 11. novembre 2010 20:33

Installation :
# pacman-g2 -Sy openvpn

Configuration :
In this post http://dors.frugalware.org/blogengine/post/Mini-howto-server-openvpn.aspx I have create some keys. Copy bouleetbil.crt, bouleetbil.key, ca.crt and ta.key into /etc/openvpn/

Edit/create /etc/openvpn/client.conf :
client
dev tun
proto udp
remote dors.frugalware.org 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
ca ca.crt
cert bouleetbil.crt
key bouleetbil.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3

Start client :
# cd /etc/openvpn/
# openvpn client.conf

If you can ping 10.8.0.1 that works :p

ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1) 56(84) bytes of data.
64 bytes from 10.8.0.1: icmp_req=1 ttl=64 time=0.058 ms
64 bytes from 10.8.0.1: icmp_req=2 ttl=64 time=0.060 ms

Tags:

Frugalware | Linux