Re: ssh into kvm-clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Am Montag, den 31.05.2010, 10:48 -0600 schrieb Phil Meyer:
> I think that the rule set qemu uses is called DNAT by default, so we add:
> -A PREROUTING -i eth0 -p tcp -m tcp -d <IP> --dport 22 -j DNAT 
> --to-destination <VMIP>
> For each VM.

At the end i would like to connect to the kvm-guests by their openvpn-ip
(as all other openvpn-clients, too, by enabling client-to-client, no
matter if it's an kvm-client, real host, or remote notebook...).

So i would use this rule [on the kvm-host] <IP> as the IP in OpenVPN?
-A PREROUTING -i eth0 -p tcp -m tcp -d <openVpnIp> --dport 22 -j DNAT
--to-destination <VMIP>

and that works?
crazy, i will give it a try, just too late for today.

> Hopefully, this is enough of a pointer to be of some help.

if that works, you make my day :-)

Luck up

users mailing list
[email protected]
To unsubscribe or change subscription options:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux