if you comment out and try from the home network, does work? do you have how to test ?
you dont need port forward if the VM is having a public IP on the network On Fri, Apr 3, 2020 at 5:22 PM Yayaoui Namoussi <[email protected]> wrote: > Hey guys i'm having serious problme with to portforward my port 5060 i'm > stuck on it since 1 week :( > the probleme is i want to portforward the port 5060 on my bridge network > not in nat so naturaly i did this > > > config.vm.network "public_network", :bridge => "Realtek PCIe 2.5GbE > Family Controller", :ip => "192.168.1.117" > > > ###########DEFAULT ROUTER############## > config.vm.provision "shell", > run: "always", > inline: "route add default gw 192.168.1.254" > > config.vm.provision "shell", > run: "always", > inline: "eval `route -n | awk '{ if ($8 ==\"eth0\" && $2 != > \"0.0.0.0\") print \"route del default gw \" $2; }'`" > config.vm.network "forwarded_port", :adapter=>2, guest: 5060,host: 5060, > protocol: "udp" > > > Then when i do vagrant reload i have this > > default: VirtualBox adapter #2 not configured as "NAT". Skipping > port > > > in my router i did port forwarding like this 192.168.1.117 / UDP / ALL IP > / 5060 / 5060 > and still when i try to check open port through internet its says the port > is close > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/d647b519-e8f0-4d38-a738-3398e4eb9e96%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/d647b519-e8f0-4d38-a738-3398e4eb9e96%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezinUqM6WbTNOFkuRsy1xQq-rUmJXFk4R%3D51zF7mL%3DZog%40mail.gmail.com.
