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
export the below variables in terminal
and use the following commands to disable proxy
I had a similar conflict between systemd-resolve and dnsmasq on port 53.
led me to add DNSStubListener=no in /etc/systemd/resolved.conf and then sudo service systemd-resolved restart.
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.
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:
Add the following line ...
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 ...
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 ...
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 ...
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 ...
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/...
You are looking for this: TransparentProxy.
Local Redirection Through Tor
Add to your torrc:
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
This way, you prevent ...
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 ...
sudo -H gedit /etc/profile.d/proxy.sh
Enter the details in this format.
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):
echo deb http:...
In the /etc/ssh/sshd_config file there are those fields :
# Use these options to restrict which interfaces/protocols sshd will bind to
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.
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 ...
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 ...
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.
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 ...
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.
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 is identical to remove except that packages are removed and
purged (any configuration files are deleted too).
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
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 ...
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.
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 ...