Evenet tinc configuration
Go to file
root fcc71fd89d tinc-macaddr/subnet was replaced by tincrc 2015-02-09 09:29:52 +00:00
conf.d add device standby 2015-01-26 14:13:50 +01:00
hosts new mac address for eve 2015-02-09 08:37:57 +00:00
.gitignore tinc-macaddr/subnet was replaced by tincrc 2015-02-09 09:29:52 +00:00
README update README 2015-01-26 14:00:32 +01:00
tinc-debug add tinc-debug script 2015-01-26 14:26:18 +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 add tinc-down.local hook 2015-02-09 08:37:43 +00: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

0. Choose a Subnet/Hostname
  ex: eve/172.23.75.2/32
1. Install tinc-pre
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. Start tinc interactive mode
  user> tinc -c /etc/tinc/evenet
  tinc> init <HOST>
  tinc> set Subnet <HOST>
  tinc> set Mode switch
  tinc> set Hostnames yes
  tinc> set Address domain.tld # optional, wenn eine öffentliche Addresse verfügbar ist
  tinc> set Port 666           # optional, wenn anderer Port gewünscht
  tinc> add ConnectTo eve
  tinc> add ConnectTo ohorn
  tinc> exit
4. Adapt tinc-up/tinc-down
user> cp tinc-up-linux tinc-up # replace linux with your os
root> sed -i 's/%IP%/<HOST>/g' tinc-up

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