Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
vagrant:start [2020/12/18 13:46] – [Tipps & Tricks] js | vagrant:start [2020/12/18 13:50] (current) – js |
---|
* [[https://app.vagrantup.com/boxes/search|Vagrant Boxes]] - find vagrant boxes | * [[https://app.vagrantup.com/boxes/search|Vagrant Boxes]] - find vagrant boxes |
| |
====== Tipps & Tricks ====== | * [[vagrant:tipps|Vagrant Tipps & Tricks]] - a list of solved problems |
=== ssh port forward to public ip === | |
[[https://github.com/hashicorp/vagrant/issues/12045|Can't connect to linux box]] - ssh login to local loopback 127.0.0.1 is not working. \\ \\ Add to Vagrantfile the following \\ <code bash>v.ssh_info_public = true</code> | |
\\ | |
=== ssh port change === | |
[[https://www.vagrantup.com/docs/networking/forwarded_ports|DOC: Vagrant Forwarded Port]][[https://realguess.net/2015/10/06/overriding-the-default-forwarded-ssh-port-in-vagrant/| and do not forget id:"ssh"]][[https://github.com/hashicorp/vagrant/issues/7948| and clean nat.conf]] - \\ \\ Add to Vagrantfile the following \\ <code bash>centos.vm.network :forwarded_port, guest: 22, host: 2225, id: "ssh"</code> | |
| |