0

How can I stop Tor ?
I wanted to use Tor for every internet use in ubuntu but a command on internet makes this problem.

on start terminal I see this message :

Command '.torsocks' not found, did you mean:

command 'torsocks' from deb torsocks (2.3.0-2)

Try: sudo apt install <deb name>

Tor mode activated. Every command will be torified for this shell.

Torsocks MUST be sourced for this command to work

$ . torsocks on

Torsocks MUST be sourced for this command to work
$ . torsocks on

Tor mode activated. Every command will be torified for this shell.

I think this command makes this problem : $ echo ". torsocks on" >> ~/.bashrc

OS : Ubuntu 20.04 LTS

Parsa Mousavi
  • 3,305
  • 16
  • 37

3 Answers3

2

tor can be stopped on Ubuntu by

sudo systemctl stop tor
Pilot6
  • 90,100
  • 91
  • 213
  • 324
0

In order to torify a program you have to do either:

$ torsocks command

Or:

$ torify command

(the first one is preferred and the second one is kept for backward-compatibility).

But note that it's impossible to torify some programs like Firefox that way.For such programs you have to specify the proxy settings in the application itself.Or for Chromium you have to set the proxy system-wide via something like Gnome Network

By default you can use TOR only as a SOCKS proxy.In order to use it as an HTTP(S) proxy you can use for example Polipo.

I use them regularly and there's no problem with torification.

Parsa Mousavi
  • 3,305
  • 16
  • 37
0

For a torified shell, meaning you receive this message in terminal: Tor mode activated. Every command will be torified for this shell.

Turning it off is simply: $ torify off

You will receive the message: Tor mode deactivated. Command will NOT go through Tor anymore.

You can turn it off or on, as you like, using tor in one shell but not another.