1

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

7

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.