Route VirtualBox VM traffic through tor

I’ve been trying to get this to work for a while and my attempts where centered around creating a virtual network interface which routes it’s traffic through tor, but since that didn’t work out I had to switch to Whonix , which isn’t as good since it requires you to run a second VM, but at least it works.

All you have to do is download the *.ova file for VirtualBox run it and then configure your other VM to use it.

So first get the Whonix VM here, then import it in VirtualBox under File > Import Appliance…, you can leave all the configuration as default, I just changed the processor count from 4 to 1. Next up start the VM login (default user and password are user and changeme), change the password with the passwd command, then update it with sudo apt update && sudo apt upgrade.

Now configure your actual VM to use the Whonix network adapter:

Then run it and for windows change the network adapter settings to:

That’s it, finally check if it worked by visiting and you should see “Congratulations. This browser is configured to use Tor”.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s