[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Torify all traffic from specified eth device

I host Whonix on Linux Debian 10 with Oracle VM VirtualBox installed. I attached additional ethernet card, configured it in Workstation’s VM settings as bridged network card and set up an IP 192.168.0.1/24 on it. There’s other PC with IP 192.168.0.2 connected to this network card with gateway set up to 192.168.0.1. Is that possible to torify all network traffic from this PC trought TOR? I added iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE but it still does not work.

Unclear. What is connected and how.

Ok, I draw you a diagram:
i[dot]ibb[dot]co/98dVzXc/Diagram.png
My question is: How to torify all trafic from devices plugged into eth1 (for example VoIP pone, Wireless Access Point) Should I add 3rd network card on Whonix-Gateway (both Gateway and Workstation are Oracle VMs) Should it be bridged with eth1, briddeg with Vcard2 or any other? Is there any other firewall roules needed in Whonix Gateway configuration?
Thanks in advance!

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]