The officially official Devuan Forum!

You are not logged in.

#1 2023-07-28 01:20:34

hejik
Member
Registered: 2023-07-21
Posts: 10  

Send all network traffic through Tor on Devuan

Is there any way to send all network traffic through Tor on Devuan like Whonix gateway does?

Offline

#2 2023-07-28 08:57:07

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: Send all network traffic through Tor on Devuan

tails does that, iirc whonix just forwards traffic to 2nd vm used as gateway.
you can set global wide proxy in system to tor socks5 address, but it still won't be like tails. some apps might use hardcoded address and/or bypass system proxy. you have to use some network sniffer to make sure, all traffic goes through tor.. and adjust/remove those that don't .

or just use tails which is already build especially for this purpose.

Offline

#3 2023-07-28 14:42:48

boughtonp
Member
From: UK
Registered: 2023-01-19
Posts: 212  
Website

Re: Send all network traffic through Tor on Devuan

Both Whonix and Tails are Debian-based, not Devuan-based, and thus use systemd.

There is Heads, which is Devuan-based and Tails-like. (It is not simply Tails with a different base OS; there are other changes too.)

I don't recall seeing any Devuan-based Whonix equivalents.


3.1415P265E589T932E846R64338

Offline

#4 2023-07-28 17:48:35

hejik
Member
Registered: 2023-07-21
Posts: 10  

Re: Send all network traffic through Tor on Devuan

xinomilo wrote:

tails does that, iirc whonix just forwards traffic to 2nd vm used as gateway.

Why can't we manually do the same thing whonix does? Shouldn't be a hard task to start two VMs in qemu-kvm and forward traffic to 2nd vm used as gateway.

Offline

#5 2023-07-28 17:49:25

hejik
Member
Registered: 2023-07-21
Posts: 10  

Re: Send all network traffic through Tor on Devuan

boughtonp wrote:

There is Heads

The Heads project has not been developing for the last 5 years, it seems to be dead. Doesn't inspire confidence.

Offline

#6 2023-07-28 20:11:09

boughtonp
Member
From: UK
Registered: 2023-01-19
Posts: 212  
Website

Re: Send all network traffic through Tor on Devuan

Ooops, sorry, I thought I'd seen a 2022 release mentioned but not sure where that was, and it does seem to have gone quiet. Since it appears to be a Dyne project, and (I think) there are Dyne people involved in Devuan, perhaps someone can confirm the status?

It might be worthwhile reaching out to Tails and Whonix projects to ask them directly whether they actually need systemd, or if there are build instructions that could be applied against a Devuan base.


3.1415P265E589T932E846R64338

Offline

#7 2023-07-28 23:49:01

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,144  

Re: Send all network traffic through Tor on Devuan

@hejik, well tor is the same as any other tunneling. You run a client on the clilent host that has a tap interface for tunnel traffic, and then you direct all networking except the tunnel itself to go via that tap. (It's also easy to make it more complicated with virtual machines and bridges and whatnot)

If you use ifupdown for your networking, you would program that as directives in /etc/network/interfaces (or in a separate fragment file sourced by it). Or whatever networking tooling you use you should be able to attach configuration and deconfiguration with that. (Possibly tor includes networking hooks)

EDIT: I would have thought tor comes with instructions when you install it?

Offline

Board footer