How to connect to the Internet anonymously using Tor network ?


After a few minutes of thinking about the subject I was going to talk about, I had an idea. Before I was working on a software project that included connecting via the Tor network and then the VPN, to avoid tracking and spamming users as well as data transmitted over the Internet, Globe network on this giant network (I mean here the Tor network and not the VPN networks) is very high due to its widespread use and its high security value. Let this be the subject of the post.


How to connect to the Internet anonymously  using the Tor network

On the blessing of God we first begin by defining the Tor network:



Tor developers have been working on a clear goal of "anonymity, privacy and security" for Internet users, where the program connects users to the network, which consists of a set of servers called "nodes" - we come to define it next - and are interconnected in the form of a network And the process of communication through these nodes to get full privacy and ensure users against every trace of their movements on the Internet and the sites they visit and protects them from attempts to trace, identify and spy, which can be carried out by several individuals, companies or governments, Or saved Service (ie the company that provides us with contact to the internet service, for example, Maroc Telecom -mthal not more-).

Second, how does the Tor network work?


The Tor network works in a simple and easily understandable way but at the same time very professional - at the technical level - by sending caller data across three servers before reaching its final destination. These servers are called when connected to the ring and are within the Tor network.


As mentioned earlier in the first axis, the Tor network servers are called nodes. It should be noted here that the first two nodes pass the data called "bridges" while the last node is called the "exit node." These are the most important concepts that you should understand well to use the network And use them to the fullest extent possible. 

The difference between these two types of nodes is that the data is transmitted between the caller and the bridges in an encrypted manner, and its role - ie bridges - is limited to passing the data encrypted as it is without decrypting (bridges originally not intended for decoding and not being involved). When an outbound node disassembles its content to send to its final destination and that is where the user is connected (eg, Bob Computer). 

To clarify more about the contract - the servers used in Tor -, I note that this contract is chosen by the Tor network randomly to connect and transfer data and in each connection process there are 3 nodes: node access, middle node, exit node, The Internet user knows of the sites and services he visits, as these sites are also prevented from knowing the real location of the user - I mean here the real geographical location -. 

Here I try to explain all these words in one picture:

And these types with a more simplified explanation:
Login node : A server connected directly to you and knowing your location, but does not know what data is being sent because it is encrypted before it is accessed - it is encrypted by the Tor program before sending it.
Central node : This is a server connected to the node of entry and exit node, which does not know any information about you, nor know the data that is sent or received by you (not your geographical location, nor the data you sent, nor the site you are visiting) It must receive data from the access node, and pass it to the exit node.
Outbound node : This is the last server in the string. The Tor network ends up creating another connection, decrypts the data and passes it to the site (or whatever), so the node identifies the site you want to visit and the data you send to the site . However, if you use the Tor network while visiting a site that supports HTTPS encryption (for example: https://google.com ), this node can only know the location you want to visit, while the data is decrypted within the site you have visited (for accuracy: The site is disassembled, not the site in its usual sense).

To further expand on this subject, in theory and conceptualization, here are quick link:

And I refer you, my dear reader, to the rest of the references in the links above for further elaboration.
Important alert
For this last node, you must be cautious about it, if your destination - the site you are visiting - does not use a secure connection supported by a trusted encryption certificate (ie, using a prefix https), you should pay attention when sending or receiving sensitive data , And take the necessary action.

I always make sure that you use a secure connection, but it is not necessarily available, so you can use another type of encrypted connection, for example if it's a secret conversation (I do not know, maybe at the government level or elsewhere) you can Use encryption software for this purpose, for example using RSA encryption type, you can read about it via the following link: RSA algorithm

In fact, I have developed a desktop program for this purpose, but it needs a lengthy explanation, and I do not want to prolong you and introduce you to another topic. So I refer you to a program that meets this purpose, Open PGP Official website link -For download and download-: http://openpgp.org/

Through this program you can use encryption types, or multiple encryption algorithms, personally I recommend you RSA.

Now we have finished concepts, and theoretical work, even though he needs to explain more fully, but Uncle Google in debt.

We turn to the application.
Download the supplies
The first thing to start with is to download the Tor network operating system.
It is simple and easy indeed, and does not require any technical knowledge - in principle -.
For information, this phase will be divided into two parts, the first for desktops and tablets and the second for smartphones.
For the first part, ie, the computer - and the issue - the file you will download is located on the official website of the Tor network on the following link:

Choose your operating system type:
-If you are using Windows, click Microsoft Windows
-If you are using Apple, press Apple OS X
-If you are using Linux or Unix, click on GNU / LINUX, BSD and UNIX

And then click the download button «download» as in the following image:
As for the second part, which relates to phones and smart boards, here is how to download:
From official website:

Download Tor From Google Store:

Now, we have finished the download and we will move to install and prepare, and let the beginning with the first part: computers .. And tablets of course ^^!

Install Tor software on computers - Windows example -

After downloading the browser go to the file you downloaded, then click it to install it, as follows:
Choose the language - I will use English, because the site Tor in English, and if we use French or Arabic I will have  each time  translate, so I choose English in order to be the terms in the program match what is in the official site ^^! -:
Then click the Install button:
Then, you will find that a folder appeared on the desktop named Tor Browser open it and then click on the browser icon.
Now let's set up your Tor network browser so we can safely use it over the network:
After trying to open the browser, you will see a window, click on connect or connect or se connecter according to the language you chose in the first.
For those who have problems that prevent the connection of the Tor network - such as being banned in his country, or rather his virtual servers are prohibited - you can add private bridges, through its request from the site Tor through a dedicated service for this purpose .. I do not want to detail these special points so much not Prolonged too much.
Now, the Tor browser must have been running, and the script will appear green with the following word: Congratulation
The first thing to do is click on the Tor icon and choose Privacy and Security settings
Is the third choice for those who use another language, as shown in the picture:
Check the following options in PRIVACY SETTINGS as follows:
In the Security Level options, Tor gives you high levels of protection
If you want maximum protection with Tor browser choose HIGH
But the maximum protection will eliminate some features such as JavaScript and therefore will not be able to watch videos in most sites upload and upload videos, for example!
Now go back to the browser interface, click the Tor icon again, and then choose the fourth option, the next one, Tor Network Settings
To add bridges to the Tor network browser, click the first option as shown in the following image and choose Obfs3


Bridges are a set of nodes that are connected within the Tor network and act as an entry contract and can not be blocked by the service provider or any other party (including the government itself)

To add bridges go to this link:




Then continue with the following steps



Type the icon that will appear in the image and click on the arrow
Do you see the titles you've framed with a black frame?
You may notice that it consists of an IP address and a PORT port
This is what we call "bridges"
Copy it now one by one and place it in its assigned place, which is illustrated in the image above where you chose Obfs3


Now, we have successfully installed and activated Tor and explained the most important things you will need to work safely in the Internet. The rest of the notes and instructions - to raise the level of safety and anonymity - I will address them after explaining the installation and preparation of the Tor application network for the phone. Let us now move on to the second part of this phase

Install and set up Tor phones

The second part of the installation and setup phase is the part related to the use of the Tor network for mobile phones or smartphones, and the famous Android system - the most used - will be the example that we are working here, God willing
First, the Android system specifications that must be available for the version of Orbot (Tor phone application) we will be working here is Android 2.3 or later.
The vast majority of you, my dear readers, are more likely to be readers of Android phone users.
Of course you can use any version of Orbot, and here I will use the following version: Orbot: 14.0.4.3
First download links From the official website:

From Google Play Store:

Quickly install ...
To use the download and install from the Google Store - To install from the official site, download the application and then click on it and follow the rest of the steps here:
Of course, as Android users know, installation is just a click on install or install or installer
Depending on the language ... After installation click Open open
Upon installation, choose the language - I will complete the English as mentioned above - and after clicking on Continue, you will see this alert:
This is a very important alert. It tells you that installing Orbout does not mean that all of your phone calls are safe and anonymous. You must set up the application well to make sure that the rest of the applications will use the Tor network completely.

This is what we will address in the pro-settings paragraph.

Also, a screen may appear asking for permission to tell you that your machine is already operating with the root user privileges, and you are prompted to emphasize the use of the Superman ^^ feature, but the full-access user, which we call the Superuser of the proxy server.
Just tick the box that says:
I am aware of this and would like to continue without Superuser Superuser features
(I understand and would like to continue without Sueperuser)
In order to use Tor, you will have to use applications designed to work with Orbot, or with applications running HTTP or SOCKS.

Now go to the Tor settings for the phone.

Set Up Orbut to use the Tor network in your phone
After installing Orbot, click on it to open it, and it will look like this:
Click on the gray Orbot image and press it lengthwise to turn the app on or off. The color of the image changes from gray to yellow as follows:
The first time you start Orbut, you will see text indicating that you are successfully connected to the Tor network.
Click OK to see the green Orbot image, which means that the application works successfully and is connected to the Tor network. (Congratulations )
Note: To turn off the Orbut application, click on the same button, and to stop the application permanently - Unlock it - Click the drop-down button (three points at the top right) and then choose exit
Do you remember the bridges that we talked about and explained in the first part?
Now its role here, if you need to add it.
Click this button 
Then choose Use bridges as shown in the following image:
Click on the Bridges option under the Use Bridges option. You will see a screen to enter the IP address of the bridge you want to use. When you enter the IP address correctly, press OK. Restart Orbut to begin using the bridge.
To use Orbut automatically - do not forget to turn it on - you can set it up to run automatically when you run an android device so it will work without having to reapply every time.
First, click on the same previous button, and then click on Run Orbut on the boot of the operating system.
This option is at the top of the "start orbot on boot" settings screen:
Now suppose, you are a dear reader that you can download, install, and run your Tor phone either computer or phone.
All I have to do is give you some very important tips and guidelines so you can use the Tor network safely.
Let's move to the last axis

Very important instructions and notes

First, I hope that I will not be too late for you dear ones
As for this topic, I will summarize as much as possible, and the rest of the guidance is presented during the discussion of the position, and any query or anything related to the concealment of identity and data protection during communication over the Internet, you can put it in the comments to discuss together.
So here are the most important points and guidelines:
Tor does not give you absolute security on the Internet if you do not know the right way to use it, but it is the best way to hide and bypass electronic censorship even for the bad user.
There are ways to track Tor users. As we now know, the data between the node and the middle node is encrypted and can not be intercepted, but the data is decrypted in the exit node so that you can browse the site you want. If the site uses the HTTP protocol, You should always verify that the sites you are using are using HTTPS and the best solution is to block sites that use the HTTP protocol by adding HTTPS Everywhere
I know that an American security device - I do not want to call it - was able to beat some users of the Tor network in America in particular, by exploiting the above point related to the exit node, and I personally have two possibilities I do not see third for how to rhythm:
Either they have to deal with the site (or sites) they visit to provide them with all the data they reach, or pass through, and found information to lead the people concerned.
(I do not know how, but I take advantage of the opportunity to warn you against using any bridges not published on the official website of the network), and thus spy on the data while decoding it in the exit node.
The solution I propose to the last two points is what I have already talked about in the "How to use the Tor" column, which is to use an encrypted connection.
Also, for Tor browser users, do not do browser magnification, I mean here do not let the browser take the entire screen size. when? Simply because the owner of the website you visit will know the size of your monitor, and this information, in its simplicity, may pose a threat to your security and cause you to know your true identity.
Using a VPN on the other side - forcing the Tor network to pass through it as a final point of communication - is very good so that the site you visit (Gmail, Facebook, etc.) is not using the Tor network, List (Some websites put users of some types of proxy, especially Tor network on the list of tracking and control of their messages and the data they transfer, be careful).

A final tip

Be aware of your information security, most of the sites occupied the concern today is the collection of data on users, including what is used for commercial purposes (the least harmful to the personal level, but uses your interests and interests to develop their business)
Some of them are used for security purposes (I do not mean the security of your country, of course, they can spy on you in other ways - I will explain and detail them, and there are ways to counter each method - but I mean other parties will talk about them too if we want to address them)
The most dangerous of them, as far as people are concerned, is the purpose of identity theft or the theft of sensitive data, such as bank card numbers or electronic or other electronic accounts (especially the latter - bank information, etc.): even through the Tor network, Salva, even if the site uses a secure connection, you do not know who steals you .. maybe the same site through which you send data to the destination).

In the end..

I tried to shorten what I could, so I crossed some points that I think are not of the utmost importance - we can address them in the comments that one of you -
I ask you to publish them on the widest scale, not for the sake of the competition, but for the benefit of those who need it .. Do not let it stand with you.
When transferring, please provide the source for the scientific secretariat and save the effort and time spent.