Linux over Tor / Orbot for Linux?

Is there a tool for Linux that works like Orbot on Android — i.e., acts like a VPN and forces all traffic through Tor without exceptions?

I want to route applications through Tor that don’t support it natively (for example, VS Codium). I don’t want to configure individual Tor SOCKS proxies for each app because that’s error-prone.

I know that solutions like Tails accomplish this, but I need a persistent environment.
Would Whonix be good to accomplish what I want to do?

1 Like

You can try out oniux

3 Likes

I don’t recommend using configuring a system-wide Tor connection unless you can’t afford to purchase a computer with 32 GB+ RAM/newer CPU that can run demanding applications within a Qubes or Whonix VM.

Not that there is anything wrong with doing so, it is just that the alternatives are so much better at preventing potential leaks. However, I contend that routing your connection through Tor is an acceptable compromise if Whonix and Qubes is not acceptable from a performance perspective.

If you have the system resources to run Whonix or Qubes, consider doing so. You may need to upgrade your laptop or PC’s RAM to sustain a usable experience while coding.

2 Likes

Thank you for linking this,
Ihave some questions:

So when oniux is installed I can run
$ oniux [name of application]
And then the application is routed over Tor, correct?
Is this for the current session or is it persistent if I restart?
Do you know the command do undo this?
Is this compatible with running a VPN with active killswitch that blocks none VPN traffic?

it is used the same as torsocks is:

  • that command directly runs the application
  • that command only applies to the application it then starts
  • you must close the application first before running that command if already running
  • it does not affect any other programs or sessions
  • you “undo” it by just starting the program normally

I know that QubesOS is RAM expensive.
But this this also apply for Whonix?
I got Whonix recommended by mental outlaw (https://www.youtube.com/results?search_query=mental+outlaw+whonix) but he didn’t mention any RAM issues.

Is Whonix not effective in precenting leaks?
They run an entire VM as a Tor proxy.

Do you know if onix is a realiable way to route applications through Tor?

You could use something like Kali-rambo/Pandora bomb/anonsurf, all the same thing from parotOS, uses root to go to a Tor server system-wide and changes resolve.conf DNS servers, and changes Mac address for a general i need to be different everything right now approach. Can be resource heavy if needed to be stopped open tty console terminal and stop it.

1 Like

You would need to increase the allocated RAM once you setup Whonix. I imagine the default allocation (which is around 4gb but I can’t recall exactly) won’t be enough for demanding applications.

I never said that. I was referring to both Whonix and Qubes.

I am not sure personally. Up to your discretion.

I don’t want to play games in Whonix.
4GB RAM should be sufficent, and if not I could icnrease it to 8GB without a problem.