Skip to content

Instantly share code, notes, and snippets.

@nhooyr
Created September 21, 2015 02:05
Show Gist options
  • Save nhooyr/63cd2fe6887a368c8292 to your computer and use it in GitHub Desktop.
Save nhooyr/63cd2fe6887a368c8292 to your computer and use it in GitHub Desktop.
local localhost
port 1194
proto tcp
dev tun
ca /home/nhooyr/.openssl/x509_aubble.pem
cert /home/nhooyr/.openssl/x509_aubble.pem
key /home/nhooyr/.openssl/key.pem # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
comp-lzo
persist-key
persist-tun
auth none
cipher none
max-clients 2
status openvpn-status.log
log-append openvpn.log
verb 3
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment