
What you really need is a bridged interface with a static IP. Now, i can install applications to the box and connect to them over public static ip without "port_forwarding" setup (Like on VPS). # For example, my vagrant box public static ip is 8.8.8.8 Rebuild-iptables needs to generate and apply iptables rules: # /etc/iptables/general Ĭookbook generates Vagrantfile from template: Vagrant::n do |config|īox_config.vm.network :hostonly, "192.168.5.10"

Debian-host-machine# cat Vagrantfileīox_config.vm.network :hostonly, "188.120.244.5", :auto_config => falseĮth1 Link encap:Ethernet HWaddr 00:15:17:69:71:bb

What I have now: Not working configuration. config.vm.network :bridged - I'm confused how this works :).Of course 188.120.244.1 IP isn't mine and I can't access my server via this IP. Was created new interface on host-machine with ip "188.120.244.1".

