client
#connect to VPN server
remote xxx.xxx.xxx.x xxx
proto tcp
#socket buffer size
sndbuf xxxxxx
rcvbuf xxxxxx
#DNS server to use
dhcp-option DNS 8.8.8.8
#remove to use your ISP's gateway
redirect-gateway def1
#your access keys
ca in_ca.crt
cert in_xxxxxxxxxxxxxxxx.crt
key in_xxxxxxxxxxxxxxxx.key
ns-cert-type server
#cipher to use
cipher AES-256-CBC
#use virtual interface 'tap'
dev tap
#keep trying indefinitely to resolve the host name of the OpenVPN server.
resolv-retry infinite
#most clients don't need to bind to a specific local port number.
nobind
#try to preserve some state across restarts
persist-key
persist-tun
#enable compression on the VPN link
comp-lzo
#set log file verbosity.
verb 4
#silence repeating messages
mute 20
Lesezeichen