mitchellh/vagrant — Issue #686: Define host IP for port forwarding
Author: leifbladt
Created: 2012-01-27 10:43:54+00:00
State: open

VirtualBox (at least version 4.1.8) let me define the host IP for port forwarding. Unfortunately I can't define this in the Vagrantfile.

Background:
I have a virtual linux box, where I can test my app in production mode. And since I use SSL, it would be nice if the webserver can listen on its standard ports. To achieve this, I created a loopback alias (on OS X) with IP 127.0.0.2 and a hosts entry, which points to this address.

Is there any change, to achieve this vagrant as well?