[fedora-virt] SSH connection to a Virtual Machine from a Non-Host machine on the same LAN

Richard W.M. Jones rjones at redhat.com
Fri Jul 6 09:01:33 UTC 2012


On Fri, Jul 06, 2012 at 04:57:53PM +1000, Philip Rhoades wrote:
> People,
> 
> From machine B (10.1.1.14) I can ssh to machine A (10.1.1.10) that
> hosts a Virtual Machine (192.168.122.216) and from there I can ssh
> to the VM.  However it would be nice if I could ssh directly from B
> to the VM.  I have set up a static route on the router (10.1.1.1) to
> send traffic for 192.168.122.x to 10.1.1.10 but I presume I need to
> also set up a rule with iptables on A? - I can use tcpdump to see
> that the ssh request does make it to A but the request is refused.

It's going to be far simpler to set up a shared physical device.

I can't get to the libvirt wiki right now, but I think the right page
is:

http://wiki.libvirt.org/page/Networking

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the virt mailing list