[fedora-virt] SSH connection to a Virtual Machine from a Non-Host machine on the same LAN
Philip Rhoades
phil at pricom.com.au
Fri Jul 6 08:05:26 UTC 2012
People,
On 2012-07-06 16:57, 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.
To answer my own question - I found this "hack" that at least works:
http://wiki.libvirt.org/page/Networking#NAT_forwarding_.28aka_.22virtual_networks.22.29
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil at pricom.com.au
More information about the virt
mailing list