Evenet tinc configuration
Go to file
root f3ccb0f9d8 fix quoting in mask2cidr 2015-02-24 17:13:13 +00:00
conf.d add device standby 2015-01-26 14:13:50 +01:00
hosts add redundant ipv6 gateways 2015-02-22 17:52:31 +01:00
lib fix quoting in mask2cidr 2015-02-24 17:13:13 +00:00
.gitignore tinc-macaddr/subnet was replaced by tincrc 2015-02-09 09:29:52 +00:00
README README: rework installation 2015-02-14 11:23:41 +01:00
tinc-debug tinc-debug: set debug environment variable 2015-02-19 09:37:49 +01:00
tinc-down add tinc-down.local hook 2015-02-09 08:37:43 +00:00
tinc-generate-mac fix setting mac address 2015-01-25 19:06:01 +00:00
tinc-up use different public ipv6 subnet for ipv6 2015-02-22 18:43:33 +01:00
tinc-update tinc-debug: only sudo if necessary 2015-01-26 14:26:01 +01:00
tincd@.service add tincd@.service 2014-12-25 16:24:14 +01:00

README

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
  - brew install --devel tinc
  - Replace /etc with /usr/local/etc in the following walk-through
Windows:
  - TODO

2. Clone hosts
  root> mkdir /etc/tinc/evenet
  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> tinc -c /etc/tinc/evenet 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. Test with tinc-debug
  /etc/tinc/evenet

Linux iproute2
$ ip addr add address/prefixlength dev interface

Linux/Freebsd/OpenBSD/NetBSD/Solaris/MacOS X
$ ifconfig interface address netmask netmask

Windows
$ netsh interface ip set address interface static address netmask