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