Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I configure VirtualBox to route all network access of a guest OS through TOR? My host system is running Linux, and I've already set up TOR on it.

share|improve this question
What is the host operating system? Have you already set up TOR on it? – Gilles Jul 6 '12 at 23:01
The host system is Linux and tor is set up and running fine on it. – brent Jul 7 '12 at 0:24
up vote 1 down vote accepted

What you're describing is a tor middlebox. There seems to already be documentation on how to do this.


This might be different depending on what network manager you use.

share|improve this answer
Thank you, that seems to be what I was looking for. But what happens to the upd traffic from the vm? Is it just discarded? – brent Jul 7 '12 at 16:27
Umm, you'll have to ask somebody else about that. I don't have that much experience with tor. – Zhehao Mao Jul 8 '12 at 1:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.