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.

I have Virtual Box 3.1.4 installed. Host - Snow Leopard(Mac) Guest - Windows 7 (32-bit). I have installed Windows on my MAC because I need it for work. I cannot establish VPN connection (using NAT). I tried to use bridged adapter, and I lost my internet connection on my guest(wind7) completely.

I don't know much about networking, so I need detailed instructions for his particular OSs. Could someone please help me with this?

Some random details about my attempts: On my host Windows I get error 800 trying to VPN. I can ping server address from my guest Win 7 and I have VPN connection established from my host Mac. I do disable VPN on my Mac when tying to establish it through guest. I tried to VPN from Mac and see if Guest sees it. It doesn't.

Thank you!

share|improve this question
add comment

1 Answer

It should be fine if you connect the Mac OS via VPN and configure VirtualBox to use NAT as network type. The guest OS does not have to know about VPN.
Depending on the type of VPN, there is an option under Advanced in the network system preferences, to send every traffic via this VPN connection.

As I said, it depends on your type of VPN, but in general, follow this:

  1. Get your VPN connection running on Mac OS. If available, select "Send all traffic over VPN connection": System Preferences → Network → (select your VPN connection on the left side) → Advanced...

  2. In VirtualBox, set Attach to.. for the network adapter to NAT.

As all traffic is now sent over your VPN, the traffic generated by VirtualBox is sent via your VPN. Of course you cannot see any servers or whatever inside your guest OS as it is behind the NAT but you should be able to connect to servers, etc. via IP or name.

share|improve this answer
    
Could you please give me more details about "send every traffic via this VPN connection". What exactly will be happening? I need my guest machine to be able to VPN because i want to map network drives on this machine and also i will be using LotusNotes. –  user31954 Mar 22 '10 at 17:28
    
this didn't help anything... –  user31954 Apr 12 '10 at 15:29
add comment

Your Answer

 
discard

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.