Configuring VirtualBox to send network traffic through Tor

Discussions about using Windows guests in VirtualBox.
Post Reply
cokesmoke
Posts: 1
Joined: 22. May 2010, 08:53
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Configuring VirtualBox to send network traffic through Tor

Post by cokesmoke »

Hi,
I've been trying to figure this one out... I want to be sure that EVERYTHING from the guest goes through Tor, so I've been trying to configure a proxy for that... without any luck.
I just can't find anywhere to write proxy-settings in the GUI. Do I have to write this in some configure-file manually or something?

Any help would be appreciated o(^_^)o
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Configuring VirtualBox to send network traffic through Tor

Post by Sasquatch »

Just think about it like this: what would you do to make your Host communicate through Tor only? Exactly, you install software on the system and let everything talk to that. Same for the Guest, you can't capture it's traffic and redirect it, it needs to be done from within the VM.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dandv
Posts: 7
Joined: 7. Mar 2011, 22:20
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP

Re: Configuring VirtualBox to send network traffic through Tor

Post by dandv »

Sasquatch wrote:Just think about it like this: what would you do to make your Host communicate through Tor only? Exactly, you install software on the system and let everything talk to that.

Proxifier with Tor should do just that.
Sasquatch wrote:Same for the Guest, you can't capture it's traffic and redirect it, it needs to be done from within the VM.
That's a pity.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Configuring VirtualBox to send network traffic through Tor

Post by BillG »

In what way is this a pity? You can certainly do it, but you do not configure it through VirtualBox. This sort of thing is quite transparent to VirtualBox, so there is no way to do it through the network settings in VirtualBox.

If you set networking to bridged mode, the vm looks just like another machine on the network to the networking software. If you configure Tor in the guest OS, your vm networking should operate just as it would on a pysical machine. If you want Tor on both host and guest you need to install Tor in both OSs. As Sasquatch said, you have to consider the guest as a separate machine, not part of the host.
Bill
Post Reply