Sharing host VPN with Vagrant – Rob Allen's DevNotes


When moving a project into Vagrant, I realised that I needed the vagrant guest to share my OS X's VPN.

I'm using a separate IP address within a private network like this:

So, after some Googling, I added this provider configuration setting:

and now my VM is sending data over the VPN. Note that this will not work when using the Vagrant's public_network setting though.