Tor browser
The Turkish government has blocked Tor and VPNs as part of its internet censorship policies. Here's how to build a Tor bridge to access the internet screenshot by IBTimes UK

Turkey recently blocked use of both virtual private networks (VPN) and the Tor anonymity network to circumvent internet censorship in the country, which will have a severe impact on citizens' ability to access important information.

In November, the Turkish government asked internet service providers (ISP) to start blocking VPN and Tor, and as of 12 December, Tor restrictions are now confirmed to be in place. A country has the right to dictate its policies, however, the right to access the internet is considered a basic human right by the United Nations, which passed a resolution in June condemning all countries that intentionally prevent or disrupt access to information online.

VPNs are paid services that route internet traffic through a private server so that users can access services in countries where the internet is censored, or to help trick websites into thinking that users are located in a different geographic location.

The Tor anonymity network (named after The Onion Router project) does the same thing, only it anonymises and redirects internet traffic through a worldwide network of relays run by volunteers who set up their computers as Tor exit nodes, so that it becomes impossible to discover where the user is located. Three layers of RSA encryption is added in order to ensure that the source and the final destination of the Tor path is completely anonymised.

It is likely that Turkish ISPs are restricting access to Tor by blocking the IP addresses of Tor exit nodes, which are publicly available and frequently updated. They may also be using deep packet inspection, which is a special box that can inspect each packet of data being sent over the network and make the decision to block all Tor traffic.

However, it is still possible to circumvent Tor blocks by building a "bridge" – a Tor relay not listed in the main Tor directory that comes with pluggable transports to manipulate Tor traffic so that it is not identifiable as a Tor connection, so ISPs can't tell if the traffic comes from Tor.

Join IBTimes UK as we teach you how to set up a Tor bridge:

Step One: Download and update Tor Browser

The first thing you need to do is download the Tor Browser if you haven't already. If you have it on your computer, then start the program and then update it to the latest version in order to make sure you can perform the steps below.

Step Two: Connect via Tor network settings

Open the Tor browser, click on the onion icon in the top left-hand corner and then select "Tor Network Settings" from the drop-down menu. Tick the setting that reads 'My Internet Service Provider (ISP) blocks connections to the Tor Network'.

Tor network settings
Tor network settings screenshot by IBTimes UK

An option will pop up for you to select a bridge from a drop-down menu to connect with. According to independent internet watchdog TurkeyBlocks, obfs4 is working, while obfs3 fails intermittently on some ISPs. Select an option from the drop-down menu, then click OK. If one bridge doesn't work, try another option from the menu.

Tor network settings
Tor Browser lets you connect using bridges screenshot by IBTimes UK

Step Three: If that doesn't work, go get some bridges

If the Tor Browser is still not able to connect to the internet, then you might need a custom bridge. To get one, go here and look at the Advanced Options box. You will need a pluggable transport to cloak your Tor Bridge. Select an option from the drop-down menu as above, and when you're ready, click 'Get Bridges'.

You should see a list that looks like this:

Highlight one relay (one line) from the box, copy it, and then paste it into the 'Enter custom bridges' field and click OK.

Tor network settings
Paste in a custom bridge to connect to Tor screenshot by IBTimes UK

You can also choose to email and write 'get transport obfs4' (or whichever pluggable transport you choose) in the body of the email, but you must send the email from Yahoo Mail, Gmail or RiseUp in order to get an automated response, which will look like this:

Step Three: Still not working? Ask for help

If none of the bridges work, email for support and include as much information about the steps you took to make Tor work, such as which pluggable transports you tried, and which error messages you received from the Tor Browser.

Help run a Tor bridge relay to help others stay connected

Don't have any problems connecting to the internet? That's nice for you. How about helping out? Instead of running a regular Tor node, you could choose to use your server or computer to run a bridge relay. If you only have a tiny bit of bandwidth available, being a bridge will be perfect for you.

Once configured as a bridge relay, your server/computer will not appear in the public Tor network – it will automatically publish its address to the bridge authority, which will give the bridge address out via the two methods listed above.

To do this, edit your Torrc file (the text file containing configuration instructions for how your Tor program should behave), located at Browser > TorBrowser > Data >Tor >torrc inside your Tor Browser directory on Windows. On OS X, right-click the Tor Browser icon and select "Show Package Contents" to view the Tor Browser directory, and then follow the instructions above.

Manually edit the Torrc file so it contains only these four lines: