4

I'm a new Ubuntu user and I live in Iran. I have problems opening many sites, even Google services.

I cannot buy a VPN account..

What can I do to access sites when access is restricted in Ubuntu?

Richard
  • 8,502
  • 11
  • 47
  • 72
user254862
  • 59
  • 1
  • 2
  • 2
    Close voters: How is this not about Ubuntu? It seems to be very helpful to people using the OS and trying to access blocked sites... – Richard Mar 05 '14 at 02:43
  • 1
    @searchfgold6789 I'm thinking they are using close votes as a super downvote. – Braiam Mar 05 '14 at 02:45

4 Answers4

7

The safest bet is to use the Tor network to access sites that your ISP has blocked. In Ubuntu, you can download Tor through the Software Center or with the terminal command:

sudo apt-get install tor

Then, use the torify command to run programs and have network requests automatically sent through the Tor proxy network. For example:

torsocks firefox

Or, to do software upgrades...

sudo -i
torsocks apt-get update 
torsocks apt-get dist-upgrade

For a more "user-friendly" experience with Tor, download their browser bundle. It comes in a compressed file which you can right-click in the file manager and extract. Navigate to the extracted directory and run start-tor-browser.sh with a double-click.

You can run Flash in the Tor browser: Enable it under Tools > Addons > Plugins.

Richard
  • 8,502
  • 11
  • 47
  • 72
  • Using tor, you certainly trade speed for privacy. Your internet will be s-l-o-w. – Marc Mar 05 '14 at 03:05
  • Thanks for answering. I installed tor but this part faild : "torsocks firefox" and software upgrades ...

    I saw this message in Terminal :

    11:20:50 libtorsocks(4644): WARNING: The symbol res_querydomain() was not found in any shared library with the reported error: Not Found! Also, we failed to find the symbol __res_querydomain() with the reported error: Not Found

    – user254862 Mar 05 '14 at 07:53
  • Just ignore those warnings. You can check whether Tor is enabled at https://check.torproject.org/ – Richard Mar 05 '14 at 12:50
  • Sometimes the programs started with torsocks refuses to start in Ubuntu 17.10. – X09 Mar 25 '18 at 15:40
1

There are some free VPN providers too, like vpnbook. These free services are usually donation based, so if you can, don't forget to donate so they can keep the service free.

falconer
  • 15,026
  • 3
  • 48
  • 68
0

Just open the add-ons list on firefox and search vpn. you can find plenty of free vpn extensions like Hoxx VPN and Hotsposhield

0

Try the following:

  1. Create an account on hub.docker.com (https://hub.docker.com/signup) and login
  2. Go to https://labs.play-with-docker.com/ (and log in with same credentials if required)
  3. Click on the Start button (visible after signup and login)
  4. A "Lab Window" will be opened
  5. Click on Add new instance and a "Console window" will be opened
  6. Copy and paste the following in the terminal/console:

docker run --name chrome --privileged -p 3000:3000 -d tekfik/chrome

  1. After that, a balloon/button/breadcrumb will be added on the page near the "OPEN PORT" button

  2. Click that button and you will be navigated to a new tab that will have a chrome browser opened in it.

NOTE: The session will be limited to 4 hrs, use this for educational purposes only.

Bovine
  • 534