Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
2  
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

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.