{"id":801,"date":"2016-09-24T13:51:03","date_gmt":"2016-09-24T11:51:03","guid":{"rendered":"http:\/\/moondragon.ilbello.com\/?p=801"},"modified":"2017-07-14T17:43:20","modified_gmt":"2017-07-14T15:43:20","slug":"guida-per-installare-e-gestire-tor-su-ubuntu-16-04-senza-vidalia","status":"publish","type":"post","link":"https:\/\/moondragon.ilbello.com\/en\/guida-per-installare-e-gestire-tor-su-ubuntu-16-04-senza-vidalia\/","title":{"rendered":"Guide to install and manage tor on ubuntu 4.16 without vidalia"},"content":{"rendered":"<p><br \/>\n<BR><br \/>\n<BR><br \/>\n<BR><br \/>\nHi, as I was accustomed to vidalia, I had to endeavor to better manage tor on the new version! But let&#8217;s take it easy, first of all we install tor, open the terminal with ctrl + t:<br \/>\n<em>sudo gedit \/etc\/apt\/sources.list<\/em><br \/>\nNow it will open a text editor, copy and paste the following line at the bottom:<br \/>\n<em>deb http:\/\/deb.torproject.org\/torproject.org xenial main<\/em><br \/>\nsave and close the editor. Always on the terminal to:<br \/>\n<em>gpg &#8211;keyserver keys.gnupg.net &#8211;recv 886DDD89<\/em> <em>gpg &#8211;export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add &#8211;<\/em> <em>sudo apt-get update<\/em><\/p>\n<p><em>sudo apt-get install deb.torproject.org-keyring<\/em><\/p>\n<p><em>sudo apt-get update<\/em><\/p>\n<p><em>sudo apt-get install tor<\/em><\/p>\n<p>then you have to install the proxy:<\/p>\n<p><em>sudo apt-get install polipo<\/em><\/p>\n<p><em>sudo gedit \/etc\/polipo\/config<\/em><br \/>\ninsert:<\/p>\n<pre class=\"highlight  \"><em>### Basic configuration\r\n### *******************\r\n\r\n# Uncomment one of these if you want to allow remote clients to\r\n# connect:\r\n\r\n# proxyAddress = \"::0\"        # both IPv4 and IPv6\r\n# proxyAddress = \"0.0.0.0\"    # IPv4 only\r\n\r\nproxyAddress = \"127.0.0.1\"\r\nproxyPort = 8118\r\n\r\n# If you do that, you'll want to restrict the set of hosts allowed to\r\n# connect:\r\n\r\n# allowedClients = \"127.0.0.1, 134.157.168.57\"\r\n# allowedClients = \"127.0.0.1, 134.157.168.0\/24\"\r\n\r\nallowedClients = 127.0.0.1\r\nallowedPorts = 1-65535\r\n\r\n# Uncomment this if you want your Polipo to identify itself by\r\n# something else than the host name:\r\n\r\nproxyName = \"localhost\"\r\n\r\n# Uncomment this if there's only one user using this instance of Polipo:\r\n\r\ncacheIsShared = false\r\n\r\n# Uncomment this if you want to use a parent proxy:\r\n\r\n# parentProxy = \"squid.example.org:3128\"\r\n\r\n# Uncomment this if you want to use a parent SOCKS proxy:\r\n\r\nsocksParentProxy = \"localhost:9050\"\r\nsocksProxyType = socks5<\/em><\/pre>\n<p>Well now you have to configure:<br \/>\n<em>sudo gedit \/etc\/default\/tor<\/em><\/p>\n<p>We&#8217;re going to put in place of <em>RUN_DAEMON=&#8221;yes&#8221;<\/em><\/p>\n<p><em>RUN_DAEMON=&#8221;no&#8221;<\/em><\/p>\n<p>Now to prevent the automatic start giving:<br \/>\n<em>sudo systemctl disable tor.service<\/em><\/p>\n<p><em>sudo update-rc.d tor disable<\/em><\/p>\n<p><em>sudo update-rc.d -f tor remove<\/em><\/p>\n<p>Now restart your PC! To graphically manage the start-tor instead of vidalia I created a small program with gui <a href=\"https:\/\/www.dropbox.com\/s\/s6a0moy4r8ubp5a\/Tor-polipo.sh?dl=0\" target=\"_blank\">Download it here <\/a><\/p>\n<p><img src=\"https:\/\/dl.dropboxusercontent.com\/u\/19495324\/Sito-MoonDragon\/informatica\/tor\/prog.png\"\/><\/p>\n<p>Put it in your home or wherever you like is important not to move it if you want that it does not require a password:<\/p>\n<p>sudo gedit \/etc\/sudoers OR sudo visudo<\/p>\n<p>basically enter:<br \/>\n<a href=\"http:\/\/acc\">cacccacc<\/a><br \/>\nYourName ALL= NOPASSWD: \/home\/YourName\/Tor-polipo.sh<\/p>\n<p>Here now right-click on Tor-polipo.sh in your home, click properties, permissions enable the execution! For firefox you should get &#8220;Proxy selector&#8221; by Michele Pezza, to manage the proxy now easily go on plugins, manage proxy <img src=\"..\/Sito-MoonDragon\/informatica\/tor\/proxy-icon.png\"\/>, add and copy the following configurations:<br \/>\n<BR><br \/>\n<img src=\"..\/Sito-MoonDragon\/informatica\/tor\/proxy-conf.png\"\/><br \/>\n<BR><br \/>\nGood surfing Tor \ud83d\ude09<\/p>","protected":false},"excerpt":{"rendered":"<p>Hi, as I was accustomed to vidalia, I had to endeavor to better manage tor on the new version! But let&#8217;s take it easy, first of all we install tor, open the terminal with ctrl + t: sudo gedit \/etc\/apt\/sources.list Now it will open a text editor, copy and paste the following line at the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[43,47,8,51,30,27,49,9,50],"_links":{"self":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/posts\/801"}],"collection":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/comments?post=801"}],"version-history":[{"count":0,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/posts\/801\/revisions"}],"wp:attachment":[{"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/media?parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/categories?post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moondragon.ilbello.com\/en\/wp-json\/wp\/v2\/tags?post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}