Developing software in the Real World

Sharing host VPN with Vagrant

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.

Thoughts? Leave a reply

Your email address will not be published. Required fields are marked *