Installs Tor in a chroot environment on Arch Linux
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
Gemfile
LICENSE
README.md
Rakefile
build.rb

README.md

tor-chroot-al

Installs Tor in a chroot environment on Arch Linux. It assumes that Tor is installed as an Arch package, and by that its dependencies. Made for use with a Tor server I used to run. Originally based on this document.

Installation

pacman -S git ruby tor
git clone https://github.com/blom/tor-chroot-al.git

Usage

Creating a new environment

ruby build.rb -c
  • Creates a new environment under ./chroot.
  • Outputs some commands to run as root.

Updating an existing environment

ruby build.rb -u
  • Leaves ./chroot/{dev,etc,var} alone and overwrites everything else.

Running

chroot ./chroot /usr/bin/tor -f /etc/tor/torrc
  • The default torrc installed will only run Tor as a client, in the foreground, and log to stderr.