Forge Home

tor

Installs and sets up Tor onion router

9,634 downloads

8,510 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.6.1 (latest)
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0 (deleted)
released Jul 31st 2015
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'maxhope-tor', '0.6.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add maxhope-tor
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install maxhope-tor --version 0.6.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

maxhope/tor — version 0.6.1 Jul 31st 2015

tor

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with tor
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Overview

This module sets up Tor anonymous proxy as a client, relay or exit node.

Module Description

This module sets up Tor anonymous proxy as a client, relay or exit node. Then you can do the web almost anonymously.

Setup

What tor affects

  • Will create the config file /etc/tor/torrc used by Tor
  • If using Tor´sown DNS service, make sure you forward the traffic going to port 53 to port 5353 (or whatever port you set for Tor DNS)

Beginning with tor

Set your browser proxy settings to listen on 127.0.0.1:9050 using SOCKS5.

Usage

For using as client:

class{'::tor::client':}

Same as above, but setting some custom values:

class{'::tor::client':
  socks_port           => ['127.0.0.1:9000',],
  socks_policy         => [ 'accept *:80', ],
  deamon               => true,
}

For using as client with Tor DNS and with Control Port:

class{'::tor::client':
   $ensure          => running,
   $dns_port        => '5353',
   $control_port    => '9051',
}

For using as relay:

class{'::tor::relay':}

For using as exit node:

class{'::tor::exitnode':}

Limitations

This module is tested, as far, only on CentOS 7 running Puppet 4 but should be compatible wihh earlier version of Puppet as well.

Development

Please check the github repos for this module at https://github.com/maxhope/puppet-tor