Tinc

From XPUB & Lens-Based wiki
Revision as of 15:07, 15 April 2019 by Angeliki (talk | contribs) (Created page with "Client Compile Tinc 1.1pre for the RPi cd /usr/src/ wget https://www.tinc-vpn.org/packages/tinc-1.1pre17.tar.gz tar xvf tinc-1.1pre17.tar.gz cd tinc-1.1pre17 sudo apt i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client

Compile Tinc 1.1pre for the RPi

cd /usr/src/
wget https://www.tinc-vpn.org/packages/tinc-1.1pre17.tar.gz
tar xvf tinc-1.1pre17.tar.gz
cd tinc-1.1pre17
sudo apt install libncurses5-dev libreadline-dev liblzo2-dev libssl-dev
 (if needed search for more libraries: apt search <library name>)
./configure

make make install


tmux: attaches shell to the pi and running without your ssh connection

Adding clients On the server:

    tinc -n hub invite $CLIENTHOSTNAME

On the client

   tinc join $INVITEURL
   tinc -n hub add subnet 10.11.11.1XX
   tincd -n hub -D -d3



10.11.11.11 - xvm/xpub KVM 10.11.11.100 - Angeliki (screaming) 10.11.11.101 - Tash (warnet)


Category:Cookbook