Skip to main content

Install & configure the Tinc mesh VPN with `pyinfra`.

Project description

pyinfra Tinc

A pyinfra deploy that installs & configures the Tinc mesh VPN. Developed & tested with:

  • Ubuntu 18/20
  • Debian 9/10
  • CentOS 7/8


A default install and configure of a Tinc network is shown below. Each of the three deploy functions is detailed below.

from pyinfra_tinc import configure_tinc, install_tinc, sync_tinc_configurations

SUDO = True



This deploy downloads, compiles & installs the tincd binary, along with any required deb/rpm packages required to do so. This uses the variable.


This deploy generates the Tinc configuration directory and files.


This deploy syncs the host configuration files to all other hosts, which actually enables the tincd daemons to connect to each other and form the mesh network.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinfra-tinc-0.1.1.tar.gz (6.0 kB view hashes)

Uploaded source

Built Distribution

pyinfra_tinc-0.1.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page