Skip to content

Instantly share code, notes, and snippets.

@shri
Last active July 16, 2016 18:51
Show Gist options
  • Save shri/9fcd0b1088e7063387e0 to your computer and use it in GitHub Desktop.
Save shri/9fcd0b1088e7063387e0 to your computer and use it in GitHub Desktop.
How to install a publicly accessible, but unlisted, Tor Relay on Digital Ocean
## start a droplet w/ debian installed
## ssh into your droplet
$ apt-get install tor tor-arm
$ cd /etc/tor
$ nano torrc
## replace the contents of your torrc file with the below:
SocksPort 9150
ORPort 443
BridgeRelay 1
Exitpolicy reject *:*
SocksListenAddress 0.0.0.0
$ /etc/init.d/tor restart
## you should be all good!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment