# Specify that this is a client
client
 
# Bridge device setting
dev tap
 
# Host name and port for the server (default port is 1194)
remote 10.1.1.254 1194
 
# Client does not need to bind to a specific local port
nobind
 
# Keep trying to resolve the host name of OpenVPN server
resolv-retry infinite
 
# Preserve state across restarts
persist-key
persist-tun
 
# SSL/TLS parameters 
ca keys/ca.crt
cert keys/client.crt
key keys/client.key
 
# Specify same cipher as server
cipher BF-CBC
 
# Use compression
comp-lzo
 
# Log verbosity (to help if there are problems)
verb 3