How to install tinc VPN
on Red Hat Enterprise Linux

tinc VPN

tinc VPN

Bryan (bqrs01)

tinc open-source VPN daemon

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 on armhf architectures will be available soon.

Setup: You must manually connect interfaces to the snap:

 sudo snap connect tinc-vpn:network-control
 sudo snap connect tinc-vpn:network-manager
 sudo snap connect tinc-vpn:network-observe
 sudo snap connect tinc-vpn:network-setup-control

Then create a directory in /var/snap/tinc-vpn/ called tinc, where you will store configuration files:

 sudo mkdir /var/snap/tinc-vpn/tinc

Lastly, set permissions as follows:

 sudo chown username:username /var/snap/tinc-vpn/tinc -R
 sudo chmod 775 /var/snap/tinc-vpn/tinc -R

After this, follow usual instructions on tinc homepage...

When referencing command tinc-vpn.tincd, you must provide two options:

-c /var/snap/tinc-vpn/tinc/(netname) --pidfile=/run/shm/snap.tinc-vpn.tinc.pid

and run 'tinc-vpn.tincd' using root privileges e.g. sudo or otherwise. This is to allow tincd to access the virtual tun network device on Linux.

* tinc is Copyright (C) 1998-2018 by:

Ivo Timmermans, Guus Sliepen <guus@tinc-vpn.org>, and others.

Details for tinc VPN

License
GPL-2.0+
Last updated
13 June 2018

Enable snaps on Red Hat Enterprise Linux and install tinc VPN

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for Red Hat Enterprise Linux (RHEL) 7, from the 7.6 release onward, from the Extra Packages for Enterprise Linux (EPEL) repository.

It is not yet available in the EPEL 8 repository, and consequently, not yet available for RHEL 8 unless you build the RPM yourself.

The EPEL repository can be added to your system with the following command:

Adding the optional and extras repositories is also recommended:

sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" sudo yum update

Snap can now be installed as follows:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.

Install tinc VPN

To install tinc VPN, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.