[url=http://service-hidden.tk]http://service-hidden.tk[/url]
My How-To one of the easiest How to setup hidden service inside Tor-network.
Welcome !
1. Install [url=http://www.ubuntu.com]http://www.ubuntu.com[/url]. 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
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:
# 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:
# service tor restart
4. [url=http://www.tk]www.tk[/url]
Open in your browser [url=http://www.tk]www.tk[/url] 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 [url=http://YOUR-ONION-HUMAN-UNREADABLE-DOMAIN-NAME.onion.to]http://YOUR-ONION-HUMAN-UNREADABLE-DOMAIN-NAME.onion.to[/url]
E.g. [url=http://nfokjgfj3hxs4nwu.onion.to]http://nfokjgfj3hxs4nwu.onion.to[/url]
5. Complete !
Visit my How-To: [url=http://service-hidden.tk]http://service-hidden.tk[/url]
Please, live feedback.