evenet/README.txt

43 lines
1.4 KiB
Plaintext
Raw Normal View History

2015-02-14 10:23:09 +00:00
1. Install tinc and dhcp (at lease version 1.1pre11)
Archlinux:
- tinc-pre from aur
- dhcpcd or dhclient (dhcpcd recommend)
Freebsd:
- tinc from this [Port Collection](https://github.com/Mic92/ports)
- dhcpcd or dhclient (dhcpcd recommend)
Mac OS X:
- Get homebrew
2015-03-12 22:36:20 +00:00
- $ 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!)
2015-02-14 10:23:09 +00:00
- brew install --devel tinc
2015-03-12 22:36:20 +00:00
- brew install bash
2015-02-14 10:23:09 +00:00
- Replace /etc with /usr/local/etc in the following walk-through
Windows:
- TODO
2014-12-25 14:26:48 +00:00
2. Clone hosts
2015-03-12 22:36:20 +00:00
root> mkdir /etc/tinc/evenet # /usr/local/etc/tinc/evenet on MacOS X
2015-01-26 13:00:20 +00:00
root> chown $USER /etc/tinc/evenet
user> git clone gitlab@git.higgsboson.tk:Mic92/evenet.git /etc/tinc/evenet
2015-02-14 10:23:09 +00:00
3. Request invite url (generated by `tinc -c . invite`)
4. Join tinc url
2015-03-12 22:36:20 +00:00
user> cd /etc/tinc/evenet
user> tinc -c . generate-keys
user> tinc -c . join <url>
2015-02-14 10:23:09 +00:00
# Optional (set public address)
2015-01-26 13:00:20 +00:00
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
2014-12-25 14:26:48 +00:00
tinc> exit
2015-03-12 22:36:20 +00:00
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
2014-12-25 14:26:48 +00:00
2015-03-12 22:36:20 +00:00
Static IP-Adresses