Skip to content

Instantly share code, notes, and snippets.

@TobleMiner
Last active December 16, 2016 22:14
Show Gist options
  • Save TobleMiner/f672e7f498d108d8289d88aa8b1616ca to your computer and use it in GitHub Desktop.
Save TobleMiner/f672e7f498d108d8289d88aa8b1616ca to your computer and use it in GitHub Desktop.
client
remote '10.42.0.225'
ca '/.crt'
cert '.crt'
key '/.key'
auth SHA256
cipher AES-256-CBC
comp-lzo yes
float
dev vpn-ffki
dev-type tap
proto tcp
port 1090
tls-auth 'ta.key' 1
nobind
auth-nocache
script-security 2
persist-key
persist-tun
#user nm-openvpn
#group nm-openvpn
verb 6
port 1090
proto tcp-server
comp-lzo
keepalive 10 120
dev-type tap
dev vpn-ffki
persist-tun
tls-server
ca ./server-ffki/pki/ca.crt
cert ./server-ffki/pki/issued/shiningarmor.crt
key ./server-ffki/pki/private/shiningarmor.key
dh ./server-ffki/pki/dh.pem
tls-auth ./server-ffki/pki/private/ta.key 0
cipher AES-256-CBC
auth SHA256
script-security 2
up /usr/local/lib/openvpn/scripts/ffki-up
down /usr/local/lib/openvpn/scripts/ffki-down
mute 20
verb 6
log /var/log/openvpn/ffki.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment