Building Tinc 1.1 (pre) on Ubuntu 18.04

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

tinc-vpn.org

Its been a while, but i noticed that they did have a version 1.1 preview, and did some tests with it previouly, and seen some decient perf 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 (its something i read years ago and i keep doing this). Just change that number as required.

Now your done. you can do a sudo make install to install in the required folders, or just run it from where its build.