Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I would like to route packages received by a VM host to different VM guest, on basis of application layer, in particular domains given in urls. It is impossible to route on network layer level, since IP address limitations (to the outside) do not allow this.

share|improve this question

You mention URLs so forgive me if I make an assumption that this is web traffic. Could you put an apache + mod_proxy on the domU / VM host and direct the traffic based on URL that way?

share|improve this answer
Hey! :) Yeah. I am thinking about that. Probably mod_proxy or mod_rewrite or a combination of both my be a solution for web traffic. – txwikinger Aug 11 '10 at 19:41
up vote 0 down vote accepted

nginx is a light-weight proxy that can do this with web and e-mail traffic.

share|improve this answer

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.