packages/tinc: use new service functions, change 'disabled' option to 'enabled' like most other services are using
[openwrt.org/packages.git] / net / tinc / files / tinc.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
config tinc-net NETNAME
	# Remove to enable
	option disabled 1

	## Daemon Configuration	(cmd arguments)
	#option generate_keys 0
	#option key_size 2048
	#option log /tmp/log/tinc.NETNAME.log
	#option debug 3

	## Server Configuration (tinc.conf)
	#option AddressFamily any
	#option BindToAddress 127.0.0.1
	#option BindToInterface lo

	#list ConnectTo peer1

	#option DirectOnly 0
	#option Forwarding internal
	#option GraphDumpFile /tmp/log/tinc.NETNAME.dot
	#option Hostnames 0
	#option IffOneQueue 0
	#option Interface NETNAME
	#option KeyExpire 3600
	#option MACExpire 600
	#option MaxTimeout 900
	#option Mode router

	option Name NODENAME

	#option PingInterval 60
	#option PingTimeout 5
	#option PriorityInheritance 0
	#option PrivateKeyFile /etc/tinc/NETNAME/rsa_key.priv
	#option ProcessPriority normal
	#option ReplayWindow 16
	#option StrictSubnets 0
	#option TunnelServer 0
	#option UDPRcvBuf x
	#option UDPSndBuf x

config tinc-host NODENAME
	# Remove to enable
	option disabled 1

	option net NETNAME

	#list Address example.com
	#option Cipher blowfish
	#option ClampMSS yes
	#option Compression 0
	#option Digest sha1
	#option IndirectData 0
	#option MACLength 4
	#option PMTU 1514
	#option PMTUDiscovery yes
	#option Port 655
	#option Subnet 192.168.1.0/24

comments