Route qube traffic transparently through a proxy qube (Qubes R4.1 and R4.2)

What about this?

i guess it wasn’t updated for Qubes OS 4.2.
You can use sing-box in the qube to proxify its traffic.
You can use proxy as outbound and tun as inbound.

Like this?

Yes, something like this, but you’ll need to change iptables rules to nftables rules.

Started with cloning the repo and translating with deepL, hopefully I can get it work and create a fresh community guide for it… Maybe you can help with translating the ip table rules to nft…

I see there is an install.sh which refers to a restrict-firewall script which contains the iptables rules…

Okay, translated most of the rules, but there are lines which I’m not able to translate with my current knowledge, can someone help?

I marked the lines with a “!” prefix.

Is anyone knowledgeable willing to update this for fedora41 instead of fedora-38-minimal? I had the fedora-38-proxy(not minimal) setup and it used to work, but it started being very slow 6-8 months ago, and today I tried to swap the template from sys-proxy qube from fedora-38-proxy to fedora-41-proxy, and it’s not working at all. with fedora-38-proxy it works but extremely slow (2 kbps). Any thoughts/other solutions to run socks in a qube? Essentially I need Thunderbird to access the internet through a socks5 server that uses username and password. Thank you to everyone contributing!