mauchede/tinc-configuration

This package is abandoned and no longer maintained. No replacement package was suggested.

tinc-configuration gives the possibility to easily manage tinc

dev-master 2020-09-22 19:48 UTC

This package is not auto-updated.

Last update: 2020-10-23 06:22:23 UTC


README

tinc-configuration gives the possibility to easily manage tinc.

⚠️ This project is no longer maintained. ⚠️

SensioLabsInsight

Installation

sudo curl -sLo /usr/local/bin/tinc-configuration "https://github.com/mauchede/tinc-configuration/raw/master/dist/tinc-configuration.phar"
sudo chmod +x /usr/local/bin/tinc-configuration

Usage

# Initialize the configuration of the current host

tinc-configuration init --name nodeA --public-ip 1.1.1.1 --private-cidr 10.0.0.1/32

# Add an external host

cat > /tmp/host.pub << EOF
-----BEGIN RSA PUBLIC KEY-----
MIICCgKCAgEAuupuGT9OKdoUtGG1ouSJYS/9tV7+SVvRClixABWoiZVfMGoNolcs
...
-----END RSA PUBLIC KEY-----
EOF
tinc-configuration host:add --name nodeB --public-ip 2.2.2.2 --private-cidr 10.0.0.2 --public-key /tmp/host.pub

# Connect the current host to an external host

tinc-configuration connection:add --name nodeB

# Analyze the current host

tinc-configuration info

# Analyze an external host

tinc-configuration host:info --name nodeB

# Remove a connection between two hosts

tinc-configuration connection:remove --name nodeB

# Remove an external host

tinc-configuration host:remove --name nodeB

Credits

The project has been inspired by JensErat.

Links