Post
Topic
Board Services
Topic OP
service - hidden . tk - Simplest How - To Hidden Service [ Ubuntu ]
by
servicehidden
on 20/05/2013, 14:22:24 UTC
Greetings,

I want to introduce my super "How-To create your own hidden service".

service - hidden . tk

My instruction is the easiest and the fastest way to setup your own hidden service.




1.
Install http://www.ubuntu.com. You may install Ubuntu into VMWare or VirtualBox.
Code:
# apt-get install -y apache2 tor

2. Configure Apache2:
Code:
# vi /etc/apache2/ports.conf  

Code:
NameVirtualHost 127.0.0.1:80
Listen 127.0.0.1:80

    NameVirtualHost 127.0.0.1:443
    Listen 127.0.0.1:443



    NameVirtualHost 127.0.0.1:443
    Listen 127.0.0.1:443


Change apache's user from www-data to debian-tor:

Code:
# vi /etc/apache2/envvars

#export APACHE_RUN_USER=www-data
#export APACHE_RUN_GROUP=www-data
export APACHE_RUN_USER=debian-tor
export APACHE_RUN_GROUP=debian-tor

# sudo chown -R debian-tor:debian-tor /var/{lock,log}/apache2 /var/www

Close by .htaccess private_key file of your hidden service:

Code:
# vi /etc/apache2/sites-available/default

Code:
#AllowOverride None
AllowOverride All

Code:
# cat > /var/www/.htaccess << EOF
RedirectMatch 404 private_key
Options -Indexes
ServerSignature Off
EOF

Let's create your first hidden personal web page:
Code:
# echo "whisper: hello world..." > /var/www/index.html
Restart apache2:
Code:
# service apache2 restart  

3. Tor:
Let's configure Tor:

Code:
# cat >> /etc/tor/torrc << EOF
HiddenServiceDir /var/www
HiddenServicePort 80 127.0.0.1:80
EOF
Tor almost configured !
You need no any motions ! Actually, you need no outer ip address !
You can stay behing huge amount of routers without any port forwarding.
E.g. through wi-fi of your neighbor's internet cafe.
This is wonderful, you'll see...
Restart Tor daemon:

Code:
# service tor restart  

4. www . tk
Open in your browser www . dot . tk and choose right domain name, like my service - hidden . tk.
Read your onion domain name:

Code:
# cat /var/www/hostname
nfokjgfj3hxs4nwu.onion

Set field "Your referer URL:" to http://YOUR-ONION-HUMAN-UNREADABLE-DOMAIN-NAME.onion.to
E.g. http://nfokjgfj3hxs4nwu.onion.to

5. Complete !


Visit my How-To: service - hidden . tk