Next: Network interfaces, Previous: How connections work, Up: Configuration [Contents][Index]

### 4.4 Configuration files

The actual configuration of the daemon is done in the file `C:/Program Files/tinc/netname/tinc.conf` and at least one other file in the directory `C:/Program Files/tinc/netname/hosts/`.

These file consists of comments (lines started with a #) or assignments in the form of

    Variable = Value.

The variable names are case insensitive, and any spaces, tabs, newlines and carriage returns are ignored. Note: it is not required that you put in the ‘=’ sign, but doing so improves readability. If you leave it out, remember to replace it with at least one space character.

The server configuration is complemented with host specific configuration (see the next section). Although all host configuration options for the local node listed in this document can also be put in `C:/Program Files/tinc/netname/tinc.conf`, it is recommended to put host specific configuration options in the host configuration file, as this makes it easy to exchange with other nodes.

You can edit the config file manually, but it is recommended that you use the tinc command to change configuration variables for you.

In the following two subsections all valid variables are listed in alphabetical order. The default value is given between parentheses, other comments are between square brackets.