kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.1k stars 364 forks source link

Easiest way to access Guest from network #1241

Open Nixellion opened 6 years ago

Nixellion commented 6 years ago

What is the easiest way to give access to Guest from another PCs in the network? Give it it's own IP or forward ports to the Host somehow.

It sounds like some basic (aka - expected) VM functionality to me, I'm not experienced with Linux networking and I would really appreciate if there was some easy way to do it, or a short guide.

Use case:

I have a NAS, I want to create a OMV Virtual Machine on it for testing, and I need to have access to, I believe, port 80\433 of that machine to open it's web ui, and 22 for SSH. Then there's my PC that I want to be able to access OMV from, and a router that everything is wired to.

It would be best if Router's DHCP could just assign a new "real" IP to a VM, but other faster-to-setup solutions also welcomed.

Thanks for your time, sorry if it's wrong place for this question.

doanerock commented 6 years ago

You can you have to create a bridge for the two network. That is the method that I use.

Nixellion commented 6 years ago

When I tried to create a bridge with Kimchi it made my box inaccessible from network, i fixed it, but and one of 2 ethernet ports no longer works. I'm hesitating to give it another try.