Skip to content

Instantly share code, notes, and snippets.

@michaelasper
Created February 8, 2018 05:54
Show Gist options
  • Save michaelasper/4322ec7b5bfc0a1e809025c155740b18 to your computer and use it in GitHub Desktop.
Save michaelasper/4322ec7b5bfc0a1e809025c155740b18 to your computer and use it in GitHub Desktop.

How to install Hidden Services

  1. sudo apt-get install tor

  2. Edit _etc_tor/torrc

HiddenServiceDir /var/lib/tor/www_service/
HiddenServicePort 80 127.0.0.1:80
  1. sudo service tor restart
  2. sudo cat _var_lib_tor_www_service/hostname
  3. sudo apt-get install nginx
  4. sudo vim _etc_nginx_sites-enabled_default
server {
    listen 127.0.0.1:80 default_server;
    server_name [server];
    ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment