Created
December 30, 2013 22:02
-
-
Save sbma44/8188997 to your computer and use it in GitHub Desktop.
comment-less openVPN server.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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