[packages] tinc: contribution from linus.luessing@web.de - configuration via uci...
[openwrt/svn-archive/archive.git] / net / tinc / files / tinc.config
1 config tinc-net NETNAME
2 # Remove to enable
3 option disabled 1
4
5 ## Daemon Configuration (cmd arguments)
6 #option generate_keys 0
7 #option key_size 2048
8 #option log /tmp/log/tinc.NETNAME.log
9 #option debug 3
10
11 ## Server Configuration (tinc.conf)
12 #option AddressFamily any
13 #option BindToAddress 127.0.0.1
14 #option BindToInterface lo
15
16 #list ConnectTo peer1
17
18 #option DirectOnly 0
19 #option Forwarding internal
20 #option GraphDumpFile /tmp/log/tinc.NETNAME.dot
21 #option Hostnames 0
22 #option IffOneQueue 0
23 #option Interface NETNAME
24 #option KeyExpire 3600
25 #option MACExpire 600
26 #option MaxTimeout 900
27 #option Mode router
28
29 option Name NODENAME
30
31 #option PingInterval 60
32 #option PingTimeout 5
33 #option PriorityInheritance 0
34 #option PrivateKeyFile /etc/tinc/NETNAME/rsa_key.priv
35 #option ProcessPriority normal
36 #option ReplayWindow 16
37 #option StrictSubnets 0
38 #option TunnelServer 0
39 #option UDPRcvBuf x
40 #option UDPSndBuf x
41
42 config tinc-host NODENAME
43 # Remove to enable
44 option disabled 1
45
46 option net NETNAME
47
48 #list Address example.com
49 #option Cipher blowfish
50 #option ClampMSS yes
51 #option Compression 0
52 #option Digest sha1
53 #option IndirectData 0
54 #option MACLength 4
55 #option PMTU 1514
56 #option PMTUDiscovery yes
57 #option Port 655
58 #option Subnet 192.168.1.0/24