The recently added provision to allow access from outside of LAN does not work for me. Enabling it gives me a "route -n" readout that looks like the following:
Using an alternate provision as follows does work:
config.vm.network "public_network"
config.vm.provision "shell", run: "always", inline: "route del default; route add default gw 192.168.1.1"
The "route -n" readout using this alternate provision looks like the following:
As you can see there is a difference between the two, and even though I don't know what I'm doing, I'm assuming that the difference lies in the deletion of the default route prior to specifying the proper default gateway to use.
From @rumsant on April 1, 2017 8:16
The recently added provision to allow access from outside of LAN does not work for me. Enabling it gives me a "route -n" readout that looks like the following:
Using an alternate provision as follows does work: config.vm.network "public_network" config.vm.provision "shell", run: "always", inline: "route del default; route add default gw 192.168.1.1"
The "route -n" readout using this alternate provision looks like the following:
As you can see there is a difference between the two, and even though I don't know what I'm doing, I'm assuming that the difference lies in the deletion of the default route prior to specifying the proper default gateway to use.
Copied from original issue: shihjay2/nosh2#44