APC Australia

Set up your darknet site

-

CONFIGURE THE SERVER FOLDER

Follow ‘Setting Up TAILS’ to boot from a USB stick and set up persistenc­e. Open Applicatio­ns > Terminal, run sudo mkdir / var/www , then sudo mkdir /live/persistenc­e/ TailsData_ unlocked/www . Edit the persistenc­e config file with sudo nano /live/persistenc­e/TailsData_ unlocked/persistenc­e.conf/ and add the line /var/www source=www at the end. Press ‘Ctrl-X’, then ‘Y’, then Enter to save and exit. Reboot TAILS, open Terminal and run sudo apt-get update , then sudo aptget install nginx-light . Run sudo nano /etc/ nginx/sites-available/default , paste the text in Step 2 at the end, save and exit.

SET UP A WEB SERVER

server { listen 127.0.0.1:8080 default_ server; server_ name localhost; server_tokens off; root /var/www; index index.html index.htm; location / { allow 127.0.0.1; deny all; } }

SET UP STEALTH SERVICES

Run sudo nano /etc/tor/torrc . Scroll down to ‘this section is just for location-hidden services’. This is where you’ll set up a hidden service for each user. Modify the names in the last line before pasting: HiddenServ­iceDir /var/lib/tor/hidden_ service/ Hidden Service Port 80127.0.0.1:8080 Hidden Service Authorize Client stealth tom,dick,harry Save and exit.

CREATE AN INDEX PAGE WITH PERMISSION­S

Create a simple landing page for your website with sudo nano /var/www/index.htm . Type in some text such as ‘This is your secret page running from TAILS,’ then save and exit. Give the www user ownership of the /var/www folder with sudo chown -Rv www-data:www-data

/var/www . Restart Tor and Nginx with: sudo service tor restart sudo service nginx restart

SET UP CLIENT ACCESS (TOR BROWSER)

Run sudo cat /var/lib/tor/hidden_

service/hostname to list access tokens for all users. Ask your user to open their Tor Browser Bundle folder and use a text editor to open the file ‘torrc’. This is found in ‘~/[path_to_tor_ browser]/Browser/ TorBrowser/Data/ Tor/torrc’ on Linux. Type the word HidServAut­h , then paste the line for their Hidden Service Authentica­tion address and cookie at the end.

SET UP CLIENT ACCESS (ORBOT)

If your contacts prefer to use a mobile, ask them to install the apps Orbot and Orweb on their Android device. Next, start Orbot and go to Menu > Settings > Torrc Custom Config. Type the word

HidServAut­h , then leave a space and paste in their entry from ‘hostname’. They can now access your hidden service using the Orfox browser

 ??  ??
 ??  ??
 ??  ??
 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from Australia