spiped

spiped tunnel creator

Chris Kuehl

ckuehl

9,288 downloads

6,530 latest version

4.3 quality score

Version information

  • 1.1.1 (latest)
  • 1.0.1
released Jun 7th 2016

Start using this module

Documentation

ckuehl/spiped — version 1.1.1 Jun 7th 2016

puppet-spiped

Build Status

Puppet module for configuring spiped tunnels.

Requirements

  • Debian >= 8 / Ubuntu >= 15.04 / similar systems
  • systemd as init

The init requirement rules out many versions of Debian or Ubuntu. If you can't run systemd as init, this module is not useful to you.

Usage

For example, let's say we have a host redis-host which hosts a Redis database. Many clients will connect to it.

On redis-host, we would define a server tunnel:

spiped::tunnel::server { 'redis':
  source => '0.0.0.0:1234',
  dest   => '/var/run/redis.sock',
  secret => 'hunter2',
}

On clients, we would define a client tunnel:

spiped::tunnel::client { 'redis':
  source => '/var/run/redis.sock',
  dest   => 'redis-host:1234',
  secret => 'hunter2',
}

The secret is an arbitrarily-long shared symmetric key. The options above are the only supported; this module is kept as simple as possible.