Evenet tinc configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jörg Thalheim 1117500044
multiple fixes
8 years ago
conf.d add device standby 8 years ago
hosts eva: new address 8 years ago
lib fix quoting in mask2cidr 8 years ago
resolvers multiple fixes 8 years ago
.gitignore tinc-macaddr/subnet was replaced by tincrc 8 years ago
README.txt multiple fixes 8 years ago
tinc-debug multiple fixes 8 years ago
tinc-down add tinc-down.local hook 8 years ago
tinc-generate-mac multiple fixes 8 years ago
tinc-up multiple fixes 8 years ago
tinc-update tinc-debug: only sudo if necessary 8 years ago
tincd@.service add tincd@.service 8 years ago


1. Install tinc and dhcp (at lease version 1.1pre11)

- tinc-pre from aur
- dhcpcd or dhclient (dhcpcd recommend)
- tinc from this [Port Collection](https://github.com/Mic92/ports)
- dhcpcd or dhclient (dhcpcd recommend)
Mac OS X:
- Get homebrew
- $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
- $ brew install tuntap # WICHTIG: Befehle, welche das Programm am Ende
# ausspuckt befolgen und Rechner neustarten (ja, wirklich neustarten!)
- brew install --devel tinc
- brew install bash
- Replace /etc with /usr/local/etc in the following walk-through

2. Clone hosts
root> mkdir /etc/tinc/evenet # /usr/local/etc/tinc/evenet on MacOS X
root> chown $USER /etc/tinc/evenet
user> git clone gitlab@git.higgsboson.tk:Mic92/evenet.git /etc/tinc/evenet
3. Request invite url (generated by `tinc -c . invite`)
4. Join tinc url
user> cd /etc/tinc/evenet
user> tinc -c . generate-keys
user> tinc -c . join <url>

# Optional (set public address)
user> tinc -c /etc/tinc/evenet
tinc> set Address domain.tld # optional, wenn eine öffentliche Addresse verfügbar ist
tinc> set Port 666 # optional, wenn anderer Port gewünscht
tinc> exit
5. Generate MAC-Adresse
$ ./tinc-generate-mac
6. Test with tinc-debug
$ ./tinc-debug
7. Recommend: Add dn42-domain (on MacOS X)
$ ln -s /usr/local/etc/tinc/evenet/resolver/dn42 /etc/resolver/dn42

Static IP-Adresses