Simplify logging, update copyrights and some minor cleanups.
This commit is contained in:
parent
2a7f11c0e9
commit
5db596c684
55 changed files with 501 additions and 555 deletions
|
@ -2,17 +2,10 @@
|
|||
# This file sets up the tap device.
|
||||
# It gives you the freedom to do anything you want with it.
|
||||
# Use the correct name for the tap device:
|
||||
# For the Linux tun/tap device $INTERFACE is set to the right name,
|
||||
# but for ethertap and FreeBSD this is tap0, tap1, tap2 etcetera,
|
||||
# for Solaris and OpenBSD it is tun0, tun1, etcetera.
|
||||
|
||||
# Set hardware ethernet address, needed on Linux when in router mode
|
||||
ifconfig $INTERFACE hw ether fe:fd:0:0:0:0
|
||||
# The environment variable $INTERFACE is set to the right name
|
||||
# on most platforms, but if it doesn't work try to set it manually.
|
||||
|
||||
# Give it the right ip and netmask. Remember, the subnet of the
|
||||
# tap device must be larger than that of the individual Subnets
|
||||
# as defined in the host configuration file!
|
||||
ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0
|
||||
|
||||
# Disable ARP, needed on Linux when in router mode
|
||||
ifconfig $INTERFACE -arp
|
||||
|
|
|
@ -15,11 +15,8 @@ Name = alpha
|
|||
# May be used multiple times for redundance.
|
||||
ConnectTo = beta
|
||||
|
||||
# The tap device tinc will use. Required.
|
||||
# The tap device tinc will use.
|
||||
# Default is /dev/tap0 for ethertap or FreeBSD,
|
||||
# /dev/tun0 for Solaris and OpenBSD,
|
||||
# and /dev/net/tun for Linux tun/tap device.
|
||||
Device = /dev/net/tun
|
||||
|
||||
# The file in which the private key for this host is stored. Required.
|
||||
PrivateKeyFile = /etc/tinc/example/rsa_key.priv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue