vagrant will do what you tell vagrant to do and will be limited to what
your user can do.
Vagrant networking is very basic and cover the most general user cases, not
all the features that are new into virtualbox are present in vagrant (read
as features that have been created after the vagrant virtualbox provider
so if you think some of the features are useful, you can try to get them
working on Vagrant and sumbit a Pull Request
If you use private_networking, and use the same network on all the boxes,
all of them will be connected to the same virtualbox network (like a
switch) and you should be able to use . vm_ip:80 or vm_ip:443
On Tue, Mar 6, 2018 at 4:28 AM, Christian Gagneraud <chg...@gmail.com>
> On 5 March 2018 at 08:29, Alvaro Miranda Aguilera <kiki...@gmail.com>
> > hello
> > whats wrong on using a virtualbox box switch for this?
> > since in the way you are doing it today i am not sure you will find more
> > people using it or having the same issues
> I couldn't get it working with "plain" VBox network, i tried vagrant's
> "public_network", "private_network" or using the "--intnet" trick.
> I could have use the forwarded_port, unfortunately to listen on
> 188.8.131.52:80 and 184.108.40.206:443 I would have to run the VM as root.
> So I had no choice but to use port forwarding.
> What i've recently discovered is that my problem has actually a name:
> "Hairpin NAT"
> And there's a possible alternative (what i'm using right now):
> Split-horizon DNS"
> You can find details at https://serverfault.com/a/557776
> I'm still interested to know if I can use Vagrant to have this
> scenario working, or if the problem is purely on VBox side (which I
> believe is)
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.