2017 © Pedro Peláez
 

project tinc-configuration

tinc-configuration gives the possibility to easily manage tinc

image

mauchede/tinc-configuration

tinc-configuration gives the possibility to easily manage tinc

  • Monday, October 31, 2016
  • by mauchede
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

README

tinc-configuration gives the possibility to easily manage tinc., (*1)

⚠️ This project is no longer maintained. ⚠️, (*2)

SensioLabsInsight, (*3)

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., (*4)

The Versions