We have an application that runs on debian that requests and scans all network calls made by a web page.

The app can also run on a virtualbox vm with debian in absolutly no problem with that.

the problem is :

We need to launch the app on one of our clients web site from inside the clients network and through a proxy.

The client proxy authenticates a fixed set of computers by mac address and god nows what else, the client as given us a windows xp sp3 laptop that is authenticated on their network for us to put a vm on it with the app.

What we need to do is to route all the guest network traffic out through the hosts network with hosts ip and mac address os that the proxy/firewall/router has absolutely no idea that the requests are coming from a vm but from the host.

Multiple solutions occured when trying to solve this problem :

-Use a squid proxy server on the host with host only networking and route all that come to the proxy to the real interface, not sure what mac address or ip address would be in the packets with this solution

-Use nat networking, not sure what would be int the packets but out of the question because the app as a web frontal that needs to be accessible by the host

-SSH tunnelling : Out of the question because the client must not have any access to the vm out of the web front and especially no root access to it (app makes request on ports < 1024)

-VPN between guest and host only using hosts network as outpoint, again not sure about packet content

If anybody would be kind enough to orient me to a guide or a solution to a similar problem.

Thank you very much

link|improve this question
I think VirtualBox's NAT has port forwarding option, you might want to check it out. – Cray Nov 5 '11 at 21:15
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.