~ubuntu-branches/ubuntu/saucy/openvpn/saucy-proposed

« back to all changes in this revision

Viewing changes to .pc/debian_nogroup_for_sample_files.patch/sample/sample-config-files/tls-home.conf

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2013-05-24 17:42:45 UTC
  • mfrom: (1.1.19) (10.2.22 sid)
  • Revision ID: package-import@ubuntu.com-20130524174245-g9y6wlforycufqy5
Tags: 2.3.1-2ubuntu1
* Merge from Debian unstable. Remaining changes:
  - debian/openvpn.init.d:
    + Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    + Show per-VPN result messages.
    + Add "--script-security 2" by default for backwards compatabliity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Sample OpenVPN configuration file for
 
3
# home using SSL/TLS mode and RSA certificates/keys.
 
4
#
 
5
# '#' or ';' may be used to delimit comments.
 
6
 
 
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.
 
13
dev tun
 
14
 
 
15
# Our OpenVPN peer is the office gateway.
 
16
remote 1.2.3.4
 
17
 
 
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
 
21
 
 
22
# Our up script will establish routes
 
23
# once the VPN is alive.
 
24
up ./home.up
 
25
 
 
26
# In SSL/TLS key exchange, Office will
 
27
# assume server role and Home
 
28
# will assume client role.
 
29
tls-client
 
30
 
 
31
# Certificate Authority file
 
32
ca my-ca.crt
 
33
 
 
34
# Our certificate/public key
 
35
cert home.crt
 
36
 
 
37
# Our private key
 
38
key home.key
 
39
 
 
40
# OpenVPN 2.0 uses UDP port 1194 by default
 
41
# (official port assignment by iana.org 11/04).
 
42
# OpenVPN 1.x uses UDP port 5000 by default.
 
43
# Each OpenVPN tunnel must use
 
44
# a different port number.
 
45
# lport or rport can be used
 
46
# to denote different ports
 
47
# for local and remote.
 
48
; port 1194
 
49
 
 
50
# Downgrade UID and GID to
 
51
# "nobody" after initialization
 
52
# for extra security.
 
53
; user nobody
 
54
; group nobody
 
55
 
 
56
# If you built OpenVPN with
 
57
# LZO compression, uncomment
 
58
# out the following line.
 
59
; comp-lzo
 
60
 
 
61
# Send a UDP ping to remote once
 
62
# every 15 seconds to keep
 
63
# stateful firewall connection
 
64
# alive.  Uncomment this
 
65
# out if you are using a stateful
 
66
# firewall.
 
67
; ping 15
 
68
 
 
69
# Uncomment this section for a more reliable detection when a system
 
70
# loses its connection.  For example, dial-ups or laptops that
 
71
# travel to other locations.
 
72
; ping 15
 
73
; ping-restart 45
 
74
; ping-timer-rem
 
75
; persist-tun
 
76
; persist-key
 
77
 
 
78
# Verbosity level.
 
79
# 0 -- quiet except for fatal errors.
 
80
# 1 -- mostly quiet, but display non-fatal network errors.
 
81
# 3 -- medium output, good for normal operation.
 
82
# 9 -- verbose, good for troubleshooting
 
83
verb 3