2017-05-27 18:09:50 +00:00
|
|
|
#########################################
|
|
|
|
# Sample client-side OpenVPN config file
|
|
|
|
# for connecting to multi-client server.
|
|
|
|
#
|
|
|
|
# Adapted from http://openvpn.sourceforge.net/20notes.html
|
|
|
|
#
|
|
|
|
# The server can be pinged at 10.8.0.1.
|
|
|
|
#
|
|
|
|
# This configuration can be used by multiple
|
|
|
|
# clients, however each client should have
|
|
|
|
# its own cert and key files.
|
|
|
|
#
|
|
|
|
# tun-style tunnel
|
|
|
|
|
|
|
|
port {{ openvpn_server_port }}
|
|
|
|
dev tun
|
2018-08-13 19:49:18 +00:00
|
|
|
remote {{ openvpn_server }}
|
2017-05-27 18:09:50 +00:00
|
|
|
|
|
|
|
# TLS parms
|
|
|
|
|
|
|
|
tls-client
|
|
|
|
ca keys/ca.crt
|
|
|
|
cert keys/client1.crt
|
|
|
|
key keys/client1.key
|
|
|
|
|
|
|
|
# This parm is required for connecting
|
|
|
|
# to a multi-client server. It tells
|
|
|
|
# the client to accept options which
|
|
|
|
# the server pushes to us.
|
|
|
|
pull
|
|
|
|
|
|
|
|
# Scripts can be used to do various
|
|
|
|
# things (change nameservers, for
|
|
|
|
# example.
|
|
|
|
#up scripts/ifup-post
|
|
|
|
#down scripts/ifdown-post
|
|
|
|
|
|
|
|
verb 4
|
|
|
|
comp-lzo yes
|