If Vagrant is not reachable after disconnecting from a VPN, first run these commands to bring the interface down, then back up: sudo ifconfig vboxnet0 down sudo ifconfig vboxnet0 up   For a long term solution, consider adding the code below to the Vagrantfile, which will use the host as DNS: config.vm.provider :virtualbox do |vb| vb.customize [“modifyvm”, :id, […]

Read more