# If there is ANYTHING in this config which you do not understand, read the openvpn manual
# Look up the first word in the manual, ie: to learn about the local
# Command, look up --local in the man page
# Made for openvpn 2.1.x
port 80
proto udp
dev tun
cd "/usr/local/etc/openvpn/keys"
ca /usr/local/etc/openvpn/keys/ca.crt
cert /usr/local/etc/openvpn/keys/server.crt
key /usr/local/etc/openvpn/keys/server.key
dh /usr/local/etc/openvpn/keys/dh2048.pem
tls-auth /usr/local/etc/openvpn/keys/ta.key 0
server 10.8.1.0 255.255.255.0
persist-key
persist-tun
topology subnet
keepalive 10 120
verb 3
local 0.0.0.0
user nobody
group nobody
log openvpn.log
client-to-client
comp-lzo
push "redirect-gateway def1"