Home > ubuntu > How to install tor on ubuntu natty 11.04

How to install tor on ubuntu natty 11.04

UPDATE: this post explains how to install tor on a server if you are using a desktop I suggest yout to follow the how to install tor on ubuntu desktop tutorial instead.

Installing tor, as any other service, on ubuntu is a matter of apt-get. Just type in a terminal:


sudo apt-get install tor

It will install tor and polipo so u are ready to go with tor. But to make everything work u still need to modify the configurations files a bit. For polipo just edit /etc/polipo/config and modify these two lines:

#socksParentProxy = “localhost:9050″
#socksProxyType = socks5

into

socksParentProxy = “localhost:9050″
socksProxyType = socks5

So it’s just uncommenting the two lines. Tor should be already working without any trouble, but it may be slow and u are not contributing to the Tor network. I highly suggest u to configure tor such that u can share your bandwidth with the network.
For changing this u have to modify /etc/tor/torrc and change these two lines:

#ORPort 9001
#DirPort 9030

into

ORPort 9001
DirPort 9030

It’s like in polipo u have to just uncomment them. That’s it! just configure your browser to use localhost:8123 as a proxy and visit torcheck. Congratz! u are using Tor now :)

About these ads
Categories: ubuntu Tags: , ,
  1. NRG
    10/05/2011 at 11:02 | #1

    Does this definitely work as a way to get tor on 11.04? I am not questioning your capabilities as i still class myself as a linux nooby. Just when i was looking on the tor website there seems to be no support/install option for 11.04 . Only goes up to 10.10 . As much as i would love tor installed will this method definitely provide 11.04 users full anonymity?

  2. vincenzoampolo7
    12/05/2011 at 02:11 | #2

    Yeah, this really works as u can see from the torcheck link. This guide is nothing new, it’s just the same thing of 10.10 applied to 10.04 using the new updated package provided directly by the ubuntu repository.

    If torcheck says that u are using tor, it’s definitively so. Tor gives u anonymity but there are some issue in the Tor service: the one who owns the exit node can see your packets and can sniff/spoof them. And, nowadays all the very common websites are logged-in aware, they use cookies heavily, and of course cookies in a clear connection in tor can be easily stolen by the owner of the exit node…

    So don’t think that u just install tor and nobody can’t reach u. Be sure to use https in all your connections and do not use cookies. then u will have full anonymity…. but u will be not able to access almost all the web 2.0 (gmail, facebook, etc)

  3. Anon
    29/05/2011 at 08:41 | #3

    Why do you have to uncomment those 2 lines for polipo?

    • vincenzoampolo7
      29/05/2011 at 10:01 | #4

      Cuz if u don’t your polipo will not connect to TOR and thus u will not use the TOR network :)

      polipo -> tor -> tor network

  4. 08/06/2011 at 18:26 | #5

    im new to linux

    i am unable to edit the /etc/polipo/config file

  5. vincenzoampolo7
    09/06/2011 at 08:12 | #6

    Which command are u trying to run? Do a sudo gedit /etc/polipo/config or sudo vim /etc/polipo/config

  6. 18/06/2011 at 22:38 | #7

    From the Tor Project website:
    “Do not use the packages in Ubuntu’s universe. They are unmaintained and out of date. That means you’ll be missing stability and security fixes.”

    Source: https://www.torproject.org/docs/debian.html.en#ubuntu

  7. vincenzoampolo7
    22/06/2011 at 15:10 | #8

    @Jonathan Lamothe: yeah it WAS right. This time the docs are outdated :) As u can see here http://packages.ubuntu.com/search?keywords=tor&searchon=names&suite=all&section=all not all the versions of ubuntu have the “tor” package due to security issues. Now the package has been updated and u can see that from natty it’s the latest stable tor. So i prefer to install and ubuntu package than a package from elsewhere.

  8. Robi Roi
    10/07/2011 at 17:37 | #9

    It works nicely, Thanks.

  9. 21/07/2011 at 00:27 | #10

    /etc/tor/torrc shows as a read only file, cannot edit. Can anyone help? Thanks!

    • vincenzoampolo7
      21/07/2011 at 00:28 | #11

      just put a “sudo” behind the command

      • 21/07/2011 at 02:33 | #12

        Says, command not found. I’m a newbie to Linux. Appreciate the help.

  10. 21/07/2011 at 02:34 | #13

    and permission denied.

  11. vincenzoampolo7
    22/07/2011 at 09:54 | #14

    open a terminal and do:

    sudo gedit /etc/tor/torrc

    Let me know

    • 15/07/2012 at 19:39 | #15

      hello, Iam also a newbie and have been having the same problem (not being able to edit torrc) I tried doing
      sudo gedit/etc/tor/torrc

      but it still just tells me “command not found”

      • vincenzoampolo7
        16/07/2012 at 22:19 | #16

        just put a space between gedit and the file you want to edit.

        In this case: sudo gedit /etc/tor/torrc

  12. 27/07/2011 at 09:42 | #17

    Yeah, this works all the way until your supposed to use the SOCKS proxy: localhost:8123, did not work for me in chrome. So I installed torbutton in Firefox to see what it actually did. It changed the SOCKS-host proxy to 127.0.0.1, port: 9050. I used that in chrome and it worked like a charm. Im anonomoys to the internet.

    • vincenzoampolo7
      27/07/2011 at 11:22 | #18

      Sure! As soon as u use socks directly u don’t need any HTTP proxy :)

  13. Malcom
    31/07/2011 at 07:54 | #19

    I went ahead and did all the above. only thing is that in order to configure my proxy settings for Chromium, I have to use command line. i tried:

    “chromium-browser –proxy-server=localhost:8123″

    and when i went to torcheck to see if I was using tor, it said that I wasn’t. Help please?

    • vincenzoampolo7
      31/07/2011 at 10:52 | #20

      torcheck uses a list of known tor nodes to see if you are using tor. It takes some time to detect if a node is running a tor exit node.
      In that case just go to whatismyipaddress.com and check that the ip is not yours, if it’s so u are using tor :)
      torcheck will show that u are using tor in that case after 2-3 hours.

  14. Malcom
    31/07/2011 at 16:26 | #21

    Thanks, that was the issue, it took a few hours to go into effect!!!

  15. Mfkrmfkr
    05/10/2011 at 00:54 | #22

    Thank you!!!!!!!

  16. none
    08/03/2012 at 01:03 | #23

    How can I reconfigure tor to change the ip at every 10 sec?

  17. 17/03/2012 at 10:27 | #24

    The procedure written above is outdated as the Tor Button is not available and these config details makes it messy and confusing for a ordinary folk like me.

    Here is a link. Read this tutorial. This is for Unbuntu 11.10 users. You need not to configure anything for your own.

    This tutorial explains how to install and configure tor-browser_en-US.tar.gz on Ubuntu 11.10
    Believe me this will help you. Just check it once.

    http://www.scribd.com/doc/85715850/How-to-Install-and-Configure-Tor-on-Ubuntu-11

  18. 17/03/2012 at 10:31 | #25

    If you have any problem reading this please notify me. Here is my mail – curious_apprentice@yahoo.com
    I was having a lot of trouble in installing it as Im a novice and not familiar with all those linux x commands and configurations.

    http://www.scribd.com/doc/85715850/How-to-Install-and-Configure-Tor-on-Ubuntu-11

  19. vincenzoampolo7
    17/03/2012 at 17:51 | #26

    There is a command you can send to tor to change the ip, you have to script it such that the command is sent every 10 sec.

  20. vincenzoampolo7
    17/03/2012 at 17:53 | #27

    Curious Apprentice, you are wrong. The tutorial works. You guide installs a NEW BROWSER with TOR built in. It will work, but i don’t want to install a self-compiled browser. I wanted to use tor with my browser.

    If you find problems in this simple guide you can try installing vidalia which will start tor vai a nice gui and you can surf with tor easily.

  21. dude
    05/05/2012 at 18:11 | #28

    Hi m8, nice tut. I am having a VPS with ubuntu 11.10 server edition. I followed your guide and all works will, how ever, tor shuts down by itself. When i run “service tor start” tor starts succesuly, when i “service tor status” it say “tor is running” but after 2 min when i “service tor status” then it states that tor is not running.

    IS there any log or something to see why tor shuts down by itself?

    Any idea? I even posted on ubuntu forum but no one replayed..

    • vincenzoampolo7
      06/05/2012 at 15:16 | #29

      Hi dude,
      Ho to /var/log/tor/ and you will find all the needed logs! Cheers!

  22. 26/07/2012 at 21:01 | #30

    Hi,

    Can someone provide a torrc configuration file to run tor as an exit node ?

    • vincenzoampolo7
      26/07/2012 at 21:40 | #31

      as soon as i get some spare time i can do that.

  23. 26/07/2012 at 21:45 | #32

    Thanks vincenzoa

  1. 03/04/2012 at 13:57 | #1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 491 other followers

%d bloggers like this: