Thanks Alvaro! On Wed, Oct 19, 2016 at 9:52 AM, Alvaro Miranda Aguilera <kiki...@gmail.com> wrote:
> hello > > don't do that, is not needed. Thats used by Vagrant to configure the guest. > > If you explain you request like this: > > "How I can ssh from the nodes in the same network as the host to my VM" > > The answer is > > "add a public network" > > https://www.vagrantup.com/docs/networking/public_network.html > > Alvaro. > > > On Wed, Oct 19, 2016 at 5:59 PM, Hongjun Ma <mahongjun.m...@gmail.com> > wrote: > >> Thank you Alvaro. >> >> I'd like to overwrite this rule to have the same port forwarding without >> host ip "127.0.0.1". This rule can only allow me to do vagrant ssh from the >> vagrant host itself but I want to remote ssh into the guest from other >> servers in the same network as the host. Assuming the host ip is >> 100.100.100.1, I can have a remote server do ssh -p 2222 >> vagrant@100.100.100.1 to get into the guest. >> >> Hongjun >> >> >> On Wed, Oct 19, 2016 at 1:38 AM, Alvaro Miranda Aguilera < >> kiki...@gmail.com> wrote: >> >>> hello that is internally done in Vagrant by design. >>> >>> So the information is on vagrant source code >>> >>> https://github.com/mitchellh/vagrant/blob/7eb1091a7102dd4d2e >>> bab762ee1658689a889880/plugins/kernel_v2/config/vm.rb#L436-L444 >>> >>> anything in particular you are after ? >>> >>> >>> On Tue, Oct 18, 2016 at 8:22 PM, Hongjun Ma <mahongjun.m...@gmail.com> >>> wrote: >>> >>>> I'm curious where the Vagrantfile is to define this default rule? >>>> >>>> Just use hashicorp/precise64 as example. I don't see it in ~/.vagrant.d >>>> directory for the default setting. >>>> >>>> Thanks >>>> Hongjun >>>> >>>> -- >>>> 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 vagrant-up+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/vagrant-up/26e4c848-def1-4ebe-91a1-7c900420e932%40googlegroups.com >>>> <https://groups.google.com/d/msgid/vagrant-up/26e4c848-def1-4ebe-91a1-7c900420e932%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> 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 a topic in the >>> Google Groups "Vagrant" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/vagrant-up/lC9yY-2kogA/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> vagrant-up+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/vagrant-up/CAHqq0ewGNex3dG-FsruBKRvEDkAggsH5%2BT%2Bc84Th >>> PLC4qAFH0w%40mail.gmail.com >>> <https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewGNex3dG-FsruBKRvEDkAggsH5%2BT%2Bc84ThPLC4qAFH0w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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 vagrant-up+unsubscr...@googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/vagrant-up/CAKt-gaDWaLYcKzn0VGoVbMJmfKc9W8jOkLhKc8gs-xD_ >> _hL-7A%40mail.gmail.com >> <https://groups.google.com/d/msgid/vagrant-up/CAKt-gaDWaLYcKzn0VGoVbMJmfKc9W8jOkLhKc8gs-xD__hL-7A%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > 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 a topic in the > Google Groups "Vagrant" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/vagrant-up/lC9yY-2kogA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > vagrant-up+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/CAHqq0ewRuSu8PQn6gdmNRMQOSZPb4 > 0iO-xjCt3rEnB5aHyk1uA%40mail.gmail.com > <https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewRuSu8PQn6gdmNRMQOSZPb40iO-xjCt3rEnB5aHyk1uA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAKt-gaBPZmL7Kxwrz437p34yGNdX%3DGy%2BPUJOt_u-pfmgMnD7bQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.