This guide shows you how to set up an onion service for your website.For the technical details of how the onion service protocol works, see our onion service protocol page.
Step 0: Get a working Tor
As part of this guide, we will assume you have a functional Tor in your machine.To set up Tor, please follow the Tor installation guide.Tor should be up and running correctly for this guide to work.You should also know where Tor's configuration files are.
- Tor Browser is based on Mozilla's Firefox web browser both on the desktop and on Android. Mozilla released a redesigned version of the Firefox web browser for Android recently, and the developers of the Tor Project worked on migrating Tor Browser to the new core on Android as well.
- Of the many Tor browsers for iOS I have tried, Onion Browser tales the cake. Knowing that The Tor Project endorses Onion Browser is a huge step forward for Tor use on iOS and mobile platforms I general. Until The Tor Project is able to develop and release the real Tor Browser for iOS and mobile, Onion Browser certainly does the trick.
- Onion Browser is a free web browser for iPhone and iPad that encrypts and tunnels web traffic through the Tor network. See the official site for more details and App Store links. Please see the LICENSE file for usage and redistribution terms.
- Tor Browser already comes with HTTPS Everywhere, NoScript, and other patches to protect your privacy and security. Are you an iOS user? We encourage you to try Onion Browser. Get monthly updates and opportunities from the Tor Project: Sign up. Trademark, copyright notices, and rules for use by third parties can be found in our FAQ.
Step 1: Get a web server working
Jan 25, 2016 The Tor Browser makes the tricky work of surfing the Web anonymously as easy as using any other browser, but with a significant performance hit.
As a first step, you should set up a web server locally, like Nginx, Apache, or your favorite web server.Setting up a web server can be complex.If you get stuck or want to do more, find a friend who can help you or join our tor-onions mailing list to speak with other operators.
As an example, we will cover how to set up an onion site with Nginx and Apache on Debian.We recommend you install a new separate web server for your onion service, since even if you already have one installed, you may be using it (or want to use it later) for a regular website.
On this page, the commands to manage the web server are based on Debian-like operating systems and may differ from other systems.Check your web server and operating system documentation.
Apache is available in the main repository of multiple Linux and *BSD distributions.To install
$ sudo apt install apache2
Best Tor Browser Ios
Nginx is available in the main repository of multiple Linux and *BSD distributions.To install
$ sudo apt install nginx
By default, the web server will be running on
localhost:80 at the end of the installation.If you get an error message, something has gone wrong and you cannot continue until you've figured out why this didn't work.
Once your web server is set up, make sure it works: open your browser and go to http://localhost/.Then try putting a file in the main html directory, and make sure it shows up when you access the site.
Step 2: Configure your Tor onion service
The next step is opening the config file of Tor (torrc) and doing the appropriate configurations to setup an onion service.Depending on your operating system and setup, your Tor configuration file can be at a different location or look different.
You will need to put the following two lines in your
HiddenServiceDir line specifies the directory which should contain information and cryptographic keys for your onion service.You will want to change the
HiddenServiceDir line, so that it points to an actual directory that is readable/writeable by the user that will be running Tor.
HiddenServicePort line specifies a virtual port (that is, the port that people visiting your onion service will be using), and in the above case it says that any traffic incoming to port 80 of your onion service should be redirected to
127.0.0.1:80 (which is where the web server from step 1 is listening).
Tip: A good practice to avoid leaking an onion service to a local network is to run onion services over Unix sockets instead of a TCP socket.You will need to edit and put the following two lines in your
Step 3: Restart Tor and check that it worked
Tor Browser For Iphone
Now save your
torrc and restart Tor.
$ sudo systemctl restart tor
If Tor starts up again, great. Otherwise, something is wrong. First look at your logfiles for hints.It will print some warnings or error messages. That should give you an idea of what went wrong.Typically, there are typos in the
torrc or wrong directory permissions (See the logging FAQ entry if you don't know how to enable or find your log file.)
When Tor starts, it will automatically create the
HiddenServiceDir that you specified (if necessary).Make sure this is the case.
Step 4: Test that your onion service works
Now to get your onion service address, go to your
HiddenServiceDir directory, and find a file named
hostname file in your onion service configuration directory contains the hostname for your new onion v3 service.The other files are your onion service keys, so it is imperative that these are kept private.If your keys leak, other people can impersonate your onion service, deeming it compromised, useless, and dangerous to visit.
Now you can connect to your onion service using Tor Browser, and you should get the html page you setup back in Step 1.If it doesn't work, look in your logs for some hints, and keep playing with it until it works.
It is important to note that an onion service configured like this will be readable by anybody who knows or discovers the address.You can make onion services require authentication, and only users with a private key will access the service.Read more about Client authorization documentation.
(Optional) Step 5: Running multiple onion services
If you want to forward multiple virtual ports for a single onion service, just add more
HiddenServicePort lines.If you want to run multiple onion services from the same Tor client, just add another
HiddenServiceDir line.All the following
HiddenServicePort lines refer to this
HiddenServiceDir line, until you add another
If you're running multiple onion sites on the same web server, remember to edit your web server virtual host file and add the onion address for each website.For example, in Nginx and using Tor with Unix sockets, the configuration would look like this:
Or in Apache with Tor service listening on port 80:
Step 6: Security advice and more tips
The default version of onion services is version 3 and it has 56 characters long.Onion services version 2 is being deprecated and will be retired soon from the Tor network, after 0.4.6.x Tor release, in July 2021.Please read the blog post Onion Service version deprecation timeline for more information.
Some onion site operators may not want to disclose their onion service location.Therefore, you need to configure your web server so it doesn't give away any information about you, your computer, or your location.That is not an easy task, and these resources will help on how to make this possible:
- Operational Security.
- Onion services best practices by Riseup Collective.
- OnionScan is a tool to check if your onion site is leaking information that could compromise your anonymity like your server IP address.
Finally, if you plan to keep your service available for a long time, you might want to make a backup copy of the
private_key file somewhere.
Now that you have an onion site working, you may want to deploy Onion-Location, or use tools like Docker, Heroku, Terraform, Ansible or stem to automate the management of your onion services.If you have a static website, but never installed Nginx or Apache, another project to try is OnionShare, where running an onion site will be easier: guided with a graphic interface and with minimal configuration.
Tor is a free and open source Internet communication software download filed under vpn and proxy software and made available by Tor Project for Windows.
The review for Tor has not been completed yet, but it was tested by an editor here on a PC.Hides your IP address behind several layers of proxies
Tor (or The Onion Router) is a free software for enabling online anonymity. Tor directs Internet traffic through a free, worldwide, volunteer network consisting of more than four thousand relays to conceal a user's location or usage from anyone conducting network surveillance or traffic analysis. Using Tor makes it more difficult to trace Internet activity, including 'visits to Web sites, online posts, instant messages, and other communication forms', back to the user and is intended to protect the personal privacy of users, as well as their freedom and ability to conduct confidential business by keeping their internet activities from being monitored.
'Onion Routing' refers to the layers of the encryption used. The original data, including its destination, are encrypted and re-encrypted multiple times, and are sent through a virtual circuit comprising successive, randomly selected Tor relays. Each relay decrypts a 'layer' of encryption to reveal only the next relay in the circuit, in order to pass the remaining encrypted data on to it. The final relay decrypts the last layer of encryption and sends the original data, without revealing or even knowing its sender, to the destination. This method reduces the chance of the original data being understood in transit and, more notably, conceals the routing of it.
Tor can hide your true IP address and circumvent state censorship.
Tor 10.0.16 on 32-bit and 64-bit PCs
This download is licensed as freeware for the Windows (32-bit and 64-bit) operating system on a laptop or desktop PC from vpn and proxy software without restrictions. Tor 10.0.16 is available to all software users as a free download for Windows. As an open source project, you are free to view the source code and distribute this software application freely.
The program was created by the developer as a freeware product, but donations for the continued development are highly appreciated. You may generally make a donation via the developer's main web site.Filed under:
- Tor Download
- Freeware VPN and Proxy Software
- Open source and GPL software
- Major release: Tor 10.0
- Internet Communication Software