Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lovm ssh doesn't work with vagrant VMs #1

Open
cbednarski opened this issue Jun 3, 2019 · 0 comments
Open

lovm ssh doesn't work with vagrant VMs #1

cbednarski opened this issue Jun 3, 2019 · 0 comments
Assignees

Comments

@cbednarski
Copy link
Owner

TL;DR vagrant's default NAT does not allow inbound SSH traffic so this doesn't work out of the box. There are two options:

  1. Make SSH work by automatically forwarding a port for SSH (only)
  2. Make SSH work by adding a second NIC to the VM that provides host-only networking. This is a lot more disruptive and requires coordination inside the guest OS to bring up the second NIC, but it allows all inbound ports to work (i.e. if you run a web server or database you would have to port forward each of these individually which is a huge pain)

I setup a proof-of-concept VM for this at some point and then I went to do something else but most of the notes are floating around somewhere.

@cbednarski cbednarski self-assigned this Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant