Super User is a question and answer site for computer enthusiasts and power users. 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

So far I've experienced with proxy software to monitor http connections on my machine, but I want to know about every little detail. I thought I could install a virtual machine and force macosx to route all network connections through this virtual machine, and run there a linux with network sniffing software. The idea being the linux machine would see every connection.

Is this possible at all? After all, the virtual machine itself is just another process more from the point of macosx. Maybe there is a way to allow network connections to work only for a specific process so that everything else either failed or was routed through the virtual machine?

share|improve this question
Maybe use bridged networking and give the real one an IP that can't connect to anything and the virtual machine the IP of the real machine. Then give the virtual machine another host-networked network card that only communicates with the host. Now you can route everything using iptables – sinni800 Nov 12 '11 at 0:33

You must log in to answer this question.

Browse other questions tagged .