Skip to content

Script to bootstrap a debian server to be a set-and-forget Tor bridge

License

Notifications You must be signed in to change notification settings

torservers/tor-bridge-bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tor-bridge-bootstrap

This script is a fork of https://github.com/micahflee/tor-relay-bootstrap. If you need a relay, go there. If you need a bridge, you've come to the right place.

This is a script to bootstrap a Debian server to be a set-and-forget Tor bridge. I've only tested it in Wheezy, but it should work on any modern Debian or Ubuntu version. Pull requests are welcome.

tor-relay-bootstrap does this:

  • Upgrades all the software on the system
  • Adds the deb.torproject.org repository to apt, so Tor updates will come directly from the Tor Project
  • Installs and configures Tor to be a bridge that runs obfs3 (but still requires you to manually edit torrc to set Nickname, ContactInfo, etc. for this bridge)
  • Configures sane default firewall rules
  • Configures automatic updates
  • Installs tlsdate to ensure time is synced
  • Helps harden the ssh server
  • Gives instructions on what the sysadmin needs to manually do at the end

To use it, set up a Debian server, SSH into it, switch to the root user, and:

git clone https://github.com/NSAKEY/tor-bridge-bootstrap.git
cd tor-bridge-bootstrap
./bootstrap.sh

About

Script to bootstrap a debian server to be a set-and-forget Tor bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%