TOR: hide my site in clearweb‏

cybero asked:

I have launched a website in TOR and I can access it through the .onion address and also typing the ip of my server in my browser. I want my site was only accessible from TOR and not through clearweb, how can I achieve this?

I’m using Ubuntu 12 and Apache2

My answer:


To run a Tor hidden service using Apache which is not accessible from the public network, be sure that Apache is configured to listen only on the local interface (e.g. 127.0.0.1).

Some things you may need to change in your configuration files are:

Listen 127.0.0.1:80

and

<VirtualHost 127.0.0.1:80>

You can verify the IP addresses that Apache is bound to by running the ss command:

ss -tnlp

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.