Hot answers tagged

94

Install from Terminal: Note: If you installed older version of Tor-Browser, in first you must clear the old .tor-browser-en folder from home folder. Just clear that by using: cd ~ && rm -r .tor-browser-en Then type following line one by one in Terminal ( Ctrl+Alt+T ) to install Tor-Browser. sudo add-apt-repository ppa:webupd8team/tor-browser ...


39

export the below variables in terminal export http_proxy='http://proxyServerSddress:proxyPort' export https_proxy='https://proxyServerSddress:proxyPort' and use the following commands to disable proxy unset http_proxy unset https_proxy


36

I had a similar conflict between systemd-resolve and dnsmasq on port 53. https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved and https://github.com/systemd/systemd/pull/4061 led me to add DNSStubListener=no in /etc/systemd/resolved.conf and then sudo service systemd-resolved restart.


34

This is due to an outdated key for verifying the torbrowser-launcher download. Try: gpg --homedir "$HOME/.local/share/torbrowser/gnupg_homedir/" --refresh-keys --keyserver pgp.mit.edu This worked fine in my case and I was able to successfully launch the tor browser. Duplicate: https://unix.stackexchange.com/questions/341513/torbrowser-signature-...


29

You don't need to remove ibus, as this answer says, since you may need it! The correct solution is very simple and consists in: Open start-tor-browser script file from inside the Tor package with your favorite editor. I use gedit for shell scripts, so, in terminal, you can use the following command: gedit /path/to/start-tor-browser Add the following line ...


24

Caused Problems with other Apps (teamViewer in my case) Suggested by another Steps of solution Add the line DNSMASQ_EXCEPT=lo to /etc/default/dnsmasq sudo nano /etc/default/dnsmasq Restart dnsmasq via sudo service systemd-resolved restart Say Thanks If I helped, It went back to normal and does NOT screw around with other apps, as the previous method ...


22

Do not use the packages in Ubuntu's universe. According to The Tor Project, "In the past they have not reliably been updated. That means you could be missing stability and security fixes." Download Tor Browser Bundle from The Tor Project website From here, select your Language and download the 32-bit or 64-bit flavor as well as the accompanying sig file ...


22

Alright, I'll lead you step by step on how to run the Tor browser Download the latest tor tarball from here open a terminal window and navigate to the directory you downloaded it to run this command: tar -xvf <NAME_OF_TARBALL> use cd to go into the created directory use this command to give the start script permission to run: chmod +x ...


20

This is quite confusing. But generally you can edit /etc/default/tor and change RUN_DAEMON="yes" to RUN_DAEMON="no". Now Vidalia should start its own tor and tor should not start at startup.


19

In the latest version, I managed to do this by ./start-tor-browser.desktop --register-app from shell within the directory and it created the entry in my applications-menu just fine.


17

For tor daemon running on Ubuntu, first try this: killall -HUP tor If that does not work, enable the control port in your torrc file. Then, set a password for the control port with tor --hash-password password. Open a telnet connection to the control port and issue the NEWNYM command: printf 'AUTHENTICATE "password"\r\nSIGNAL NEWNYM\r\n' | nc 127.0.0.1 ...


17

You are running the cat command as root, but the output redirection takes place in your current shell which runs as your normal user account. You have at least three options to achieve your goal of adding lines to your apt sources: Running the whole command including output redirection in a separate Bash root shell: sudo bash -c 'cat >> /etc/apt/...


15

You are looking for this: TransparentProxy. Local Redirection Through Tor Add to your torrc: VirtualAddrNetwork 10.192.0.0/10 AutomapHostsOnResolve 1 TransPort 9040 DNSPort 53 This way you setup DNS server on your Ubuntu on port 53 and Transparent proxy: 127.0.0.1:9040. Next, add to your /etc/resolv.conf nameserver 127.0.0.1 This way, you prevent ...


15

You can simply type or insert in your bash script: service tor reload


15

Terminal is not net application. Maybe is better to say, in your case, terminal is container for net application like ssh, telnet, lftp, wget, lynx ... Edit your: sudo -H gedit /etc/profile.d/proxy.sh Enter the details in this format. export http_proxy=http://username:password@proxyhost:port/ export ftp_proxy=http://username:password@proxyhost:port/ ...


14

Install the official Tor proxy Tor and its official SOCKS 5 proxy are pretty quick to get running on Ubuntu. Going off of the Tor Project website's installation instructions, do the following: Open a terminal by pressing Ctrl+Alt+T Run the following (replace xenial with the release you're running if you're not on 16.04 Xenial Xerus): sudo -i echo deb http:...


13

In the /etc/ssh/sshd_config file there are those fields : # Use these options to restrict which interfaces/protocols sshd will bind to #ListenAddress :: #ListenAddress 0.0.0.0 Change #ListenAddress 0.0.0.0 to ListenAddress 127.0.0.1, taking note to remove the leading #. Then run sudo reload ssh and you will be able to connect only from localhost.


13

What works for me: killall tor


12

Ubuntu 16.04 and later Tor Browser (torbrowser-launcher) is available in the default Ubuntu repositories in Ubuntu 16.04 and later. torbrowser-launcher handles downloading the most recent version of Tor Browser Bundle for you, in your language and for your architecture. After installing Tor Browser, it can be launched by searching for tor in the Dash and ...


12

netstat will tell you what's listening on that port. Open a terminal (press Ctrl+Alt+T), and run: sudo netstat -plnt | fgrep 9050 It will tell you which program is using that port. For example, on my system, it shows: tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 1198/tor At the end, it says that the program listening on that ...


11

All the above steps will make you crazy. I am going to share with you what I have chosen to and works perfectly. Install torsocks by going to Ubuntu Software Center and typing "tor" and select additional packages. After installation, go to System Settings... → Network → Network proxy and enter these settings: 127.0.0.1 and port 9050 into SOCKS section. ...


11

Update: Turns out this answer is wrong. The problem here was Skype blocking IPs operating a Tor exit node. See answer below. However the answer might be helpful in solving other problems. Here is what I did. All this was done using terminal. Just press Ctrl+Alt+T on your keyboard to open Terminal. I removed the old Skype, using sudo apt-get ...


10

Add this line: deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main to the /etc/apt/sources.list file, using sudo nano /etc/apt/sources.list. Also, I find it easier to just download the tor browser bundle and unpack it. You get manual updates, but it informs you when there's a new version.


10

To remove the configuration files, re-install tor and polipo, then purge them (remove removes the application, but leaves the system configuration files. sudo apt-get purge tor polipo From the apt-get man page purge purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).


10

Type this in a terminal: ibus exit Such a simple answer took forever to find. :)


10

You can install TorBrowser Bundle in Ubuntu by using the TorBrowser WebUpd8 PPA. Open a terminal and copy/paste the following commands: sudo add-apt-repository ppa:webupd8team/tor-browser sudo apt-get update sudo apt-get install tor-browser Then simply launch TorBrowser from the Dash / menu. More info: Tor Browser Bundle Ubuntu PPA


10

After spending lot of time and energy, I finally could manage to solve the problem myself. It seems by default, Tor should be set in such a way to use the port 9050 for socks5. This setting can be found in /etc/tor/torsocks.conf file. Look at these lines in this file: # Default Tor address and port. By default, Tor will listen on localhost for # any SOCKS ...


10

systemd-resolved gets crazy when somebody modifies the file /etc/resolv.conf, which is meant to be pointing to its own listening address 127.0.0.53. That somebody could be any script triggered by networking events (VPN coming up, or down, DHCP, etc.) If you set the nameserver back to 127.0.0.53, then systemd-resolved will "calm down" few seconds later. ...


9

With Tor running, you can use torify command. Eg: torify ssh user@remotehost torify curl curlmyip.com


8

The Tor Browser will block browser plugins such as Flash, RealPlayer, Quicktime, and others. Those plugins can be manipulated into revealing your real IP address and harming your anonymity and privacy. Therefore, it's not recommended to install additional addons or plugins into the Tor Browser. The lack of plugins means that Youtube videos are not available ...


Only top voted, non community-wiki answers of a minimum length are eligible