Skip to content

Instantly share code, notes, and snippets.

@PaulGuo
Last active December 20, 2015 21:39
Show Gist options
  • Save PaulGuo/6199687 to your computer and use it in GitHub Desktop.
Save PaulGuo/6199687 to your computer and use it in GitHub Desktop.
client
remote 106.187.35.38 1194
dev tun
comp-lzo
ca /root/etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /root/etc/openvpn/easy-rsa/2.0/keys/client1.crt
key /root/etc/openvpn/easy-rsa/2.0/keys/client1.key
route-delay 2
route-method exe
max-routes 3888
redirect-gateway def1
verb 3
#push "redirect-gateway def1 bypass-dhcp"
#push "dhcp-option DNS 8.8.8.8"
#push "dhcp-option DNS 8.8.4.4"
script-security 2
up vpnup.sh
down vpndown.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment