2
# Sample OpenVPN configuration file for
3
# office using SSL/TLS mode and RSA certificates/keys.
5
# '#' or ';' may be used to delimit comments.
7
# Use a dynamic tun device.
8
# For Linux 2.2 or non-Linux OSes,
9
# you may want to use an explicit
10
# unit number such as "tun1".
11
# OpenVPN also supports virtual
12
# ethernet "tap" devices.
15
# 10.1.0.1 is our local VPN endpoint (office).
16
# 10.1.0.2 is our remote VPN endpoint (home).
17
ifconfig 10.1.0.1 10.1.0.2
19
# Our up script will establish routes
20
# once the VPN is alive.
23
# In SSL/TLS key exchange, Office will
24
# assume server role and Home
25
# will assume client role.
28
# Diffie-Hellman Parameters (tls-server only)
31
# Certificate Authority file
34
# Our certificate/public key
40
# OpenVPN uses UDP port 5000 by default.
41
# Each OpenVPN tunnel must use
42
# a different port number.
43
# lport or rport can be used
44
# to denote different ports
45
# for local and remote.
48
# Downgrade UID and GID to
49
# "nobody" after initialization
54
# If you built OpenVPN with
55
# LZO compression, uncomment
56
# out the following line.
59
# Send a UDP ping to remote once
60
# every 15 seconds to keep
61
# stateful firewall connection
62
# alive. Uncomment this
63
# out if you are using a stateful
67
# Uncomment this section for a more reliable detection when a system
68
# loses its connection. For example, dial-ups or laptops that
69
# travel to other locations.
77
# 0 -- quiet except for fatal errors.
78
# 1 -- mostly quiet, but display non-fatal network errors.
79
# 3 -- medium output, good for normal operation.
80
# 9 -- verbose, good for troubleshooting