Skip to content

Instantly share code, notes, and snippets.

/p2p.ovpn Secret

Created April 14, 2016 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/93cde15bf6ecf048e8e9162070eb1321 to your computer and use it in GitHub Desktop.
Save anonymous/93cde15bf6ecf048e8e9162070eb1321 to your computer and use it in GitHub Desktop.
roto udp
mode p2p
remote <remote ip>
local <local ip>
rport <remote port>
lport <local port>
dev-type tun
resolv-retry infinite
dev <dev name, eg, tun1)
persist-key
persist-tun
cipher aes-256-cbc
ifconfig 10.8.0.1 10.8.0.2
secret /etc/openvpn/static.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment