

The CIA has recently been expanding its online communication with the public, and now it’s taking that effort to the deepest corners of the internet. In our case, the request is going to go straight to localhost where our site is being served and then return those files all the way back in reverse through the Tor network.įor a step-by-step guide on how to achieve this on a Linux Ubuntu machine, you can check out our guide at How to open your local NGINX website to the Tor network. onion URL address, the Tor network will forward it to our local computer where it will sort the requests and forward them as required to other services running locally. So now whenever someone sends a request to our specific. This port will be connected to the Tor network through the torrc configuration noted above. In our case that will also be port 80 on localhost.Īnd finally we have our website files which are served locally on our machine to our specific port. onion website elsewhere on your local machine. On this line we specify on which port the Tor software should listen for traffic, and then forward incoming requests that are sent to your. onion URL address, would be able to steal that domain from you and use it himself. Your private key should NOT be shared with anyone because anyone who has it, along with the public key, which is simply your. Here we need to specify the directory in which Tor is going to save the public and private (secret) keys of our website’s. The only important two lines here are the last two: The “ torrc” file can be found at “ Browser/TorBrowser/Data/Tor” inside your Tor browser directory.īelow you see an example of a torrc file:

Given that we are using the Tor browser which handles most things automatically, here we are only required to edit the “ torrc” configuration file in order for the Tor browser to be able to listen and forward specific requests locally that we get from the Tor network.

Thankfully, it is very simple to do so and you can do it with minimum configuration requirements. This is the first part of the project which you will have to set up yourself.
