vagrant uses port forward.

Check share the port you need and then use ie the brower to
http://localhost:8080



On Sat, Jun 3, 2017 at 8:23 PM, William Saxton <[email protected]> wrote:

> "vagrant ssh" still works though so there has to be someway to avoid using
> the VPN, right?  How is vagrant itself doing it?
>
>
>
> On Saturday, June 3, 2017 at 7:15:11 AM UTC-4, Alvaro Miranda Aguilera
> wrote:
>>
>> Hello
>>
>> VPN unfortunately is something need to be discussed with the network
>> people.
>>
>> Since they can configure to route all the traffic ovet the VPN, and
>> therefore your host can't see the guest.
>>
>> If you check the routing table before/after VPN, you should be able to
>> see whats been modified.
>>
>> From a technical point of view, make it work is doable, but if the VPN
>> setup is in that way, my personal suggestion will be try to make the right
>> thing and ask them to make a network not routable, etc, so you can work on
>> your machine.
>>
>> Thanks
>> Alvaro.
>>
>> On Fri, Jun 2, 2017 at 7:02 PM, William Saxton <[email protected]> wrote:
>>
>>> I'm using vagrant to provision some pretty basic VM's and everything is
>>> working with the following network setup:
>>>
>>>     node.vm.network "private_network", ip: "10.0.1.100"
>>>
>>> When I connect to my company VPN, though, I can no longer access the VM
>>> via its IP address.
>>>
>>> Is there a different vagrant setting I need to access it properly?  I
>>> had thought that "private_network" meant that all communication between the
>>> host and guest VM would go directly to one another, but it looks like it
>>> trying to access it through the VPN first which obviously won't work.
>>>
>>>
>>> --
>>> 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 "Vagrant" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/vagrant-up/3909c319-6293-4368-b2e4-9e16d1277229%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vagrant-up/3909c319-6293-4368-b2e4-9e16d1277229%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Alvaro
>>
>> --
> 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
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/a5a3e31e-cdbd-4984-a277-3900bd6c4b77%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/a5a3e31e-cdbd-4984-a277-3900bd6c4b77%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewDB1fY-MhBzmw33gWe-%2BumC2g0KRKR4dyEGpnBhpZQTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to