Skip to content

Instantly share code, notes, and snippets.

@sbma44
Created December 30, 2013 22:02
Show Gist options
  • Save sbma44/8188997 to your computer and use it in GitHub Desktop.
Save sbma44/8188997 to your computer and use it in GitHub Desktop.
comment-less openVPN server.conf
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # This file should be kept secret
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment