Page 1 of 1

Any way to bridge VPN from host to vm?

Posted: 4. Jan 2018, 00:39
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?

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

Posted: 4. Jan 2018, 00:44
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?

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

Posted: 4. Jan 2018, 02:36
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?