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.
# apt-get install -y apache2 tor
2. Configure Apache2:
# vi /etc/apache2/ports.conf
NameVirtualHost 127.0.0.1:80
Listen 127.0.0.1:80
<IfModule mod_ssl.c>
NameVirtualHost 127.0.0.1:443
Listen 127.0.0.1:443
</IfModule>
<IfModule mod_gnutls.c>
NameVirtualHost 127.0.0.1:443
Listen 127.0.0.1:443
</IfModule>
Change apache's user from www-data to debian-tor:
# 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:
# vi /etc/apache2/sites-available/default
#AllowOverride None
AllowOverride All
# cat > /var/www/.htaccess << EOF
RedirectMatch 404 private_key
Options -Indexes
ServerSignature Off
EOF
Let's create your first hidden personal web page:
# echo "whisper: hello world..." > /var/www/index.html
Restart apache2:
# service apache2 restart
3. Tor:
Let's configure Tor:
# 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:
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:
# cat /var/www/hostname
nfokjgfj3hxs4nwu.onion
Set field "Your referer URL:" to
http://YOUR-ONION-HUMAN-UNREADABLE-DOMAIN-NAME.onion.toE.g.
http://nfokjgfj3hxs4nwu.onion.to 5. Complete !
Visit my How-To: service - hidden . tk