winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
570 stars 61 forks source link

winnfsd hangs with VPN enabled #112

Open pyksid opened 7 years ago

pyksid commented 7 years ago

Hi,

With VPN enabled, vagrant up hangs while "Mounting NFS shared folders". If I stop VPN, shared folders are well mounted. If I try to reconnect VPN after vagrant up, I cannot access to my virtualbox.

When I put into my Vagrantfile:

config.winnfsd.host_ip = LOCAL_IP_MY_LAPTOP

it works (shared folders are well mounted, vagrant up is OK), but the virtualbox hangs sometimes :/ For example, when I use phantomjs + selenium server. When I do a ls in my virtualbox, nothing happen. I have to do a vagrant reload to make virtualbox works again.

Did you have a trick to keep virtualbox working with VPN enabled?

Thanks.

cbj4074 commented 7 years ago

Unless your VPN is configured to allow split-tunneling, and you have enabled it, and then added the directive as noted in your OP, this is expected behavior.

You won't be able to reach any other resources on your LAN from within the VM, either.

For more info: https://superuser.com/questions/987150/virtualbox-guest-os-through-vpn/1035327#1035327