{"id":801,"date":"2016-09-24T13:51:03","date_gmt":"2016-09-24T11:51:03","guid":{"rendered":"http:\/\/localhost\/miosito\/?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":"http:\/\/localhost\/miosito\/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":"
sudo apt-get install deb.torproject.org-keyring<\/em><\/p>\n sudo apt-get update<\/em><\/p>\n sudo apt-get install tor<\/em><\/p>\n then you have to install the proxy:<\/p>\n sudo apt-get install polipo<\/em><\/p>\n sudo gedit \/etc\/polipo\/config<\/em> Well now you have to configure: We’re going to put in place of RUN_DAEMON=”yes”<\/em><\/p>\n RUN_DAEMON=”no”<\/em><\/p>\n Now to prevent the automatic start giving: sudo update-rc.d tor disable<\/em><\/p>\n sudo update-rc.d -f tor remove<\/em><\/p>\n Now restart your PC! To graphically manage the start-tor instead of vidalia I created a small program with gui Download it here <\/a><\/p>\n 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 sudo gedit \/etc\/sudoers OR sudo visudo<\/p>\n
\n
\n
\n
\nHi, as I was accustomed to vidalia, I had to endeavor to better manage tor on the new version! But let’s take it easy, first of all we install tor, open the terminal with ctrl + t:
\nsudo gedit \/etc\/apt\/sources.list<\/em>
\nNow it will open a text editor, copy and paste the following line at the bottom:
\ndeb http:\/\/deb.torproject.org\/torproject.org xenial main<\/em>
\nsave and close the editor. Always on the terminal to:
\ngpg –keyserver keys.gnupg.net –recv 886DDD89<\/em> gpg –export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add –<\/em> sudo apt-get update<\/em><\/p>\n
\ninsert:<\/p>\n### 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
\nsudo gedit \/etc\/default\/tor<\/em><\/p>\n
\nsudo systemctl disable tor.service<\/em><\/p>\n<\/p>\n