Updating HEAD branch #2; removing debian/ dir.
[tinc] / doc / tinc.conf.sample
1 # Sample tinc configuration file
2
3 # This is a comment.
4 # Spaces and tabs are eliminated.
5 # The = sign isn't strictly necessary any longer, though you may want
6 # to leave it in as it improves readability :)
7 # Variable names are treated case insensitive.
8
9 # The internet host to connect with
10 # comment these out to make yourself a listen-only connection
11 # You may use an IP address or its FQDN.
12 ConnectTo = 1.2.3.4
13
14 # Connect to which port of the `ConnectTo' host
15
16 # It is advised that you only connect to ports that are < 1024,
17 # because some malicious (non-root) user may run a fake tincd on ports
18 # above 1024.
19 # The default port is 655, the port that has been assigned to tinc
20 # by the IANA. If you want tincd to listen on any other port than 655,
21 # you can use ListenPort for the `server', and ConnectPort for the
22 # `client'.
23
24 # You may use the prefixes 0x or 0 to denote a hexadecimal or octal
25 # number respectively.
26 ConnectPort = 0x300
27
28 # Listen on which port
29 ListenPort = 200
30
31 # My own VPN IP
32 # You may use the /nn notation to indicate the number of bits used for
33 # the mask, /8 is equivalent to the netmask 255.0.0.0 (the first 8
34 # bits are set to 1).
35 MyOwnVPNIP = 10.x.x.x/8
36
37 # VPN Netmask
38 # You'll need this option if you use the Debian or Redhat init
39 # scripts.  Put in here a netmask that covers your entire VPN network;
40 # it is used to set routes from the init script, tinc itself ignores
41 # it.
42 VpnMask = 255.255.0.0
43
44 # Which local file?
45 # Default is /dev/tap0
46 TapDevice = /dev/tap1