Redirect Whonix-Workstation Ports or Unix Domain Socket Files to Whonix-Gateway
Socket redirection could be useful for any future applications that expect Tor or the ControlPort to listen on any specific port or unix domain socket file that is not (yet) added to anon-ws-disable-stacked-tor config by default, or for any other port or unix domain socket file redirections from the workstation to the gateway.
Create and extend config file
sudo mkdir -p /usr/local/etc/anon-ws-disable-stacked-tor.d
Open /usr/local/etc/anon-ws-disable-stacked-tor.d/50_user.conf in an editor with root rights.
Then either add a port redirection.
For example to redirect Whonix-Workstation port 9100 to Whonix-Gateway port 9050. Note: adjust the port numbers for your needs.
file_port_tuples+=" port#9100:9050 "
Or create a unix domain socket file and have it forwarded to Whonix-Gateway port 9050.
file_port_tuples+=" /var/run/anon-ws-disable-stacked-tor/unix-domain-socket-file.sock#9050 "
The process of creating a redirection is now complete.
No user support in comments. See Support.
Comments will be deleted after some time. Specifically after comments have been addressed in form of wiki enhancements. See Wiki Comments Policy.
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation.
Whonix is provided by ENCRYPTED SUPPORT LP. See Imprint.