From 24b12af31a7e18d1afceb84a085fc446029c0d49 Mon Sep 17 00:00:00 2001 From: Matthew Andersen Date: Mon, 21 May 2018 22:33:18 -0700 Subject: [PATCH] Default Port Forwarding to All Host Addresses Change the default scope of port forwarding from localhost to all host devices. --- lib/vagrant-libvirt/action/forward_ports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-libvirt/action/forward_ports.rb b/lib/vagrant-libvirt/action/forward_ports.rb index 7afe1aa..79c4d84 100644 --- a/lib/vagrant-libvirt/action/forward_ports.rb +++ b/lib/vagrant-libvirt/action/forward_ports.rb @@ -54,7 +54,7 @@ module VagrantPlugins ssh_pid = redirect_port( @env[:machine], - fp[:host_ip] || 'localhost', + fp[:host_ip] || '*', fp[:host], fp[:guest_ip] || @env[:machine].provider.ssh_info[:host], fp[:guest],