Skip to content

Instantly share code, notes, and snippets.

@tiernano
Forked from anonymous/p2p.ovpn
Created April 14, 2016 08:49
Show Gist options
  • Save tiernano/09c6928d1d8f6752ea84fd895451bbe5 to your computer and use it in GitHub Desktop.
Save tiernano/09c6928d1d8f6752ea84fd895451bbe5 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