

Other programs, like irssi, need to use torsocks. Username/Password (if it asks): both set to the name of the program.In-program proxy settingsĪ lot of programs connect just fine through Tor if you edit the proxy settings to: list file, so those programs may automatically switch back to trying to connect directly when checking for updates instead of going through Tor. Now get the user id (uid) for the user created in the Tor installation (debian-tor): sudo id -u debian-tor In my CrunchBang VM, its uid 109. Note: Be aware that some programs, like Google Chrome, will modify their. Make sure to fix any error messages that appear (if needed, restore the files you backed up) Sed -i 's/ http/ tor+http/g' /etc/apt/sources.list /etc/apt//*.list Back up /etc/apt/sources.list and all.Going off of the apt-transport-tor Github README, to get apt to work through Tor: You can run sudo service tor restart or other actions like start, stop, and status to control the Tor proxy on your machine. Your Tor proxy will automatically start when your machine boots. Remember that this is a SOCKS 5 proxy, not an HTTP proxy. Now the Tor SOCKS 5 proxy will be running on your machine, 127.0.0.1, on port 9050. Gpg -export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -Īpt install tor -keyring Run the following (replace xenial with the release you're running if you're not on 16.04 Xenial Xerus): sudo -iĮcho deb xenial main > /etc/apt//tor.listĮcho deb-src xenial main > /etc/apt//tor.list Open a terminal by pressing Ctrl+ Alt+ T.Going off of the Tor Project website's installation instructions, do the following: Tor and its official SOCKS 5 proxy are pretty quick to get running on Ubuntu.
