So, a while back, I used Tinc for as a mesh VPN network. Tinc, for the uninitiated, is as follows:
tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and encryption to create a secure private network between hosts on the Internet
It’s been a while, but I noticed that they did have a version 1.1 preview, and did some tests with it previously, and seen some decent performance with it. But, due to a mix of laziness, testing and more laziness, I ended up on ZeroTier for my internal peering network…
Now, however, I am starting to look at other options. This post will explain how to build Tinc 1.1 preview on Ubuntu 18.04. I will look into other options later on…
First, this will not be a configuration of Tinc… I am only building it.
You need to install some Apt Packages for the build to run:
sudo apt update
sudo apt install build-essential libncurses5-dev libreadline6-dev libzlcore-dev zlib1g-dev liblzo2-dev libssl-dev
next, download the source and extract it:
wget https://www.tinc-vpn.org/packages/tinc-1.1pre17.tar.gz
tar -zxvf tinc-1.1pre17.tar.gz
cd tinc-1.1pre17
Next, configure and build.
./configure
make -j5
I use -j5 to use all 4 cores on my machine + 1 (It’s something I read years ago and I keep doing this). Just change that number as required.
Now you’re done. You can do a sudo make install
to install in the required folders, or just run it from where it’s build.