Incoming and outgoing in non-Whonix workstation

I want to run an application in non-Whonix Debian workstation. I’ve setup an onion address in Gateway and confirmed my application works (incoming and outgoing) in standard Whonix workstation.
I need at least outgoing to work via the 9050 port. How do I forward this to Gateway in standard Debian?
I would like incoming to work via the onion address established in Gateway if possible.

Not sure the syntax. In Whonix Dev/anon-ws-disable-stacked-tor - Whonix does that. socat something.

sudo apt install socat

sudo socat TCP-LISTEN:9050,fork,bind=127.0.0.1 TCP:10.152.152.10:9050

Not a Whonix specific question as per Free Support for Whonix ™.

@Patrick do you think any WS firewall changes would be needed?

Therefore there is no workstation firewall.

1 Like