Home > tor-chroot-al

tor-chroot-al

Tor-chroot-al is a project mainly written in Ruby, based on the ISC license.

Installs Tor in a chroot environment on Arch Linux

tor-chroot-al

  • Homepage

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.
Previous:Hello