Skip to content

Instantly share code, notes, and snippets.

@venkateshshukla
Last active August 29, 2015 14:14
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 venkateshshukla/4be140a3b728782ab0d9 to your computer and use it in GitHub Desktop.
Save venkateshshukla/4be140a3b728782ab0d9 to your computer and use it in GitHub Desktop.
openvpn configuration
client
dev tun
proto tcp
http-proxy 10.1.1.19 80 venky.auth basic
http-proxy-retry
remote a.b.c.d 80
ca ca.crt
cert venkatesh.crt
key venkatesh.key
comp-lzo
verb 4
port 80
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.9.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 4
log-append /var/log/openvpn.log
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment