2
# Sample OpenVPN configuration file for
3
# home using a pre-shared static key.
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
# Our OpenVPN peer is the office gateway.
18
# 10.1.0.2 is our local VPN endpoint (home).
19
# 10.1.0.1 is our remote VPN endpoint (office).
20
ifconfig 10.1.0.2 10.1.0.1
22
# Our up script will establish routes
23
# once the VPN is alive.
26
# Our pre-shared static key
29
# OpenVPN 2.0 uses UDP port 1194 by default
30
# (official port assignment by iana.org 11/04).
31
# OpenVPN 1.x uses UDP port 5000 by default.
32
# Each OpenVPN tunnel must use
33
# a different port number.
34
# lport or rport can be used
35
# to denote different ports
36
# for local and remote.
39
# Downgrade UID and GID to
40
# "nobody" after initialization
45
# If you built OpenVPN with
46
# LZO compression, uncomment
47
# out the following line.
50
# Send a UDP ping to remote once
51
# every 15 seconds to keep
52
# stateful firewall connection
53
# alive. Uncomment this
54
# out if you are using a stateful
58
# Uncomment this section for a more reliable detection when a system
59
# loses its connection. For example, dial-ups or laptops that
60
# travel to other locations.
68
# 0 -- quiet except for fatal errors.
69
# 1 -- mostly quiet, but display non-fatal network errors.
70
# 3 -- medium output, good for normal operation.
71
# 9 -- verbose, good for troubleshooting