2001-01-13 14:38:18 +00:00
|
|
|
# Sample tinc configuration file
|
|
|
|
|
|
|
|
# This is a comment.
|
|
|
|
# Spaces and tabs are eliminated.
|
|
|
|
# The = sign isn't strictly necessary any longer, though you may want
|
|
|
|
# to leave it in as it improves readability :)
|
|
|
|
# Variable names are treated case insensitive.
|
|
|
|
|
|
|
|
# The name of this tinc host. Required.
|
|
|
|
Name = alpha
|
|
|
|
|
|
|
|
# The internet host to connect with.
|
|
|
|
# Comment these out to make yourself a listen-only connection
|
|
|
|
# You must use the name of another tinc host.
|
|
|
|
# May be used multiple times for redundance.
|
|
|
|
ConnectTo = beta
|
|
|
|
|
|
|
|
# The tap device tinc will use. Required.
|
2002-02-10 21:57:54 +00:00
|
|
|
# Default is /dev/tap0 for ethertap or FreeBSD,
|
|
|
|
# /dev/tun0 for Solaris and OpenBSD,
|
|
|
|
# and /dev/misc/net/tun for Linux tun/tap device.
|
|
|
|
Device = /dev/misc/net/tun
|
2001-01-13 14:38:18 +00:00
|
|
|
|
|
|
|
# The file in which the private key for this host is stored. Required.
|
|
|
|
PrivateKeyFile = /etc/tinc/example/rsa_key.priv
|