ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/gvpe/doc/complex-example/vped.conf
Revision: 1.1
Committed: Sun Apr 13 15:19:36 2003 UTC (23 years, 6 months ago) by pcg
Branch: MAIN
CVS Tags: VPE_1_0, VPE_0_9
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.1 # sample configfile
2     # the config file must be exactly(!) the same on all nodes
3    
4     rekey = 54321 # the rekeying interval
5     keepalive = 300 # the keepalive interval
6     on ruth keepalive = 120 # ruth is important and demands lower keepalives
7     on surfer keepalive = 40
8     mtu = 1492 # the mtu (minimum mtu of attached host)
9     ifname = vpn0 # the tunnel interface name to use
10     ifpersist = no # the tun device should be persistent
11     inherit-tos = yes # should tunnel packets inherit tos flags?
12     compress = yes # wether compression should be used (NYI)
13     connect = ondemand # connect to this host always/never or ondemand
14     router-priority = 1 # route for everybody - if necessary
15    
16     loglevel = notice # info logs connects, notice only important messages
17     on mobil loglevel = info
18     on doom loglevel = info
19     on ruth loglevel = info
20    
21     udp-port = 407 # the udp port to use for sending/receiving packets
22     tcp-port = 443 # the tcp port to listen for connections (we use https over proxy)
23     ip-proto = 50 # (ab)use the ipsec protocol as rawip
24     icmp-type = 0 # (ab)use echo replies for tunneling
25     enable-udp = yes # udp is spoken almost everywhere
26     enable-tcp = no # tcp is not spoken everywhere
27     enable-rawip = no # rawip is not spoken everywhere
28     enable-icmp = no # most hosts don't bother to icmp
29    
30     # every "node =" introduces a new node in the network
31     # the options following it don't set defaults but are
32     # node-specific.
33    
34     # marc@lap
35     node = mobil
36    
37     # marc@home
38     node = doom
39     enable-rawip = yes
40     enable-tcp = yes
41    
42     # marc@uni
43     node = ruth
44     enable-rawip = yes
45     enable-tcp = yes
46     enable-icmp = yes
47     hostname = 200.100.162.95
48     connect = always
49     router-priority = 30
50     on ruth node-up = node-up
51     on ruth node-down = node-up
52    
53     # marc@mu
54     node = frank
55     enable-rawip = yes
56     hostname = 44.88.167.250
57     router-priority = 20
58     connect = always
59    
60     # nethype
61     node = rain
62     enable-rawip = yes
63     hostname = 100.99.218.200
64     router-priority = 10
65     connect = always
66    
67     # marco@home
68     node = marco
69     enable-rawip = yes
70    
71     # stefan@ka
72     node = wappla
73    
74     # stefan@lap
75     node = stefan
76     udp-port = 408
77    
78     # paul@wg
79     node = n8geil
80     on ruth enable-icmp = yes
81     on n8geil enable-icmp = yes
82     enable-udp = no
83    
84     # paul@lap
85     node = syrr
86    
87     # paul@lu
88     node = donomos
89    
90     # marco@hn
91     node = core
92    
93     # elmex@home
94     node = elmex
95     enable-rawip = yes
96     hostname = 100.251.143.181
97    
98     # stefan@kwc.at
99     node = fwkw
100     on stefan connect = always
101     on wappla connect = always
102     hostname = 182.73.81.146
103    
104     # elmex@home
105     node = jungfrau
106     enable-rawip = yes
107    
108     # uni main router
109     node = surfer
110     enable-rawip = yes
111     enable-tcp = no
112     enable-icmp = yes
113     hostname = 200.100.162.79
114     connect = always
115     router-priority = 40
116    
117