Any way to bridge VPN from host to vm?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
thisisbasil
Posts: 2
Joined: 4. Jan 2018, 00:33

Any way to bridge VPN from host to vm?

Post by thisisbasil »

I'm working with v5.1.30

On my host, I am connected to my company's VPN (L2TP + IPsec), my client is CentOS 7. I need to be able to access inter company things from inside my VM. I tried connecting via CentOS 7 but its proving to be an exercise in frustration. I would have thought that it would have automatically picked up that the host was on the VPN, but it doesn't look like that is the case.

I would assume there is a way to do this via VirtualBox? Searching has given no results thus far. Has anyone else ran into this problem and/or could provide a solution?
thisisbasil
Posts: 2
Joined: 4. Jan 2018, 00:33

Re: Any way to bridge VPN from host to vm?

Post by thisisbasil »

As soon as I post, I figured out my issue: I had "Send all traffic over VPN connection" unchecked in my Mac network settings.

So VirtualBox does bridge automatically I guess? To just finish up the question, in case anybody else needs the solution, what would one do to make it bridge if it doesn't catch automatically?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Any way to bridge VPN from host to vm?

Post by socratis »

thisisbasil wrote:I had "Send all traffic over VPN connection" unchecked in my Mac network settings
Where exactly is that setting? And what's your OSX version?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply