Skip to content

Instantly share code, notes, and snippets.

@kjetilk
Created February 16, 2015 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjetilk/0357d1a589592e281728 to your computer and use it in GitHub Desktop.
Save kjetilk/0357d1a589592e281728 to your computer and use it in GitHub Desktop.
My VPN config
local 172.22.160.1
port 1194
proto tcp
dev tun_wifi
ca /var/lib/openvpn/keys/ca.crt
cert /var/lib/openvpn/keys/kanga.crt
key /var/lib/openvpn/keys/kanga.key # This file should be kept secret
dh /var/lib/openvpn/keys/dh2048.pem
server 172.22.128.0 255.255.240.0
ifconfig-pool-persist /var/lib/openvpn/ipp.txt
push "route 172.22.0.0 255.255.128.0"
push "route 172.22.192.0 255.255.192.0"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status /var/log/openvpn/status.log
log /var/log/openvpn/openvpn.log
verb 3
mute 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment