just a simpel sollution...
add 10.0.0.1 as an ip to the device lo in your guest config and connect to
that from the host and all should work fine
Rik Bobbaers
-- http://harry.enzoverder.be
linux/unix/system/network/security/hardware admin
infrastructure architect
> Okay.
>
> My goal is to relay the Mysql port from the guest lo interface to the
> host lo or eth0 interface.
>
> My problem is that i dont know how to catch paquets comming on the lo
> interface of the guest from the host and if there is any way to do it
> at all.
>
> For the moment I use ssh -L 3306:host:3306 on the guest to do it.
>
> Chris.
>
> Le 19 févr. 10 à 13:26, Nikolay Kichukov a écrit :
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> depends on your setup once again.
>>
>> all networking is actually done on the HOST.
>>
>> I am not able to provide any samples, as I have no idea what your
>> setup is.
>>
>> HTH,
>> - -Nik
>>
>> Christophe wrote:
>>> So you're saying that iptables on the host can redirect some
>>> information
>>> from the guest lo interface to it's own lo interface ?
>>>
>>> I'm really interressed if you can provide me any sample of iptables
>>> chain that would do that...
>>>
>>> Thanks you,
>>> Christophe KINNE.
>>>
>>> Le 19 févr. 10 à 12:06, Nikolay Kichukov a écrit :
>>>
>>> Hi, yes, for sure...
>>>
>>> iptables DNAT should work. Depends on the setup.
>>>
>>> Cheers,
>>> -Nik
>>>
>>>
>>>
>>> Christophe wrote:
>>>>>> Hello list,
>>>>>>
>>>>>> I'm currently using SSH to forward a guest mysql local interface
>>>>>> port
>>>>>> (127.0.0.1:3306) to his host mysql port.
>>>>>>
>>>>>> Is there a way to do that without SSH, I mean with iptables or
>>>>>> something
>>>>>> like that ?
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Regards,
>>>>>> Christophe KINNE.
>>>>
>>
>>> ------------------------------------------------------------------------
>>
>>
>>
>>> 2 rue du Nord - 67800 BISCHHEIM - FRANCE - Tél.: + 33 (0)3 88
>>> 19
>>> 18 70 - Fax: +33 (0)3 88 19 18 79
>>> christophe@infra.fr - www.infra.fr
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iQEcBAEBAgAGBQJLfoNuAAoJEDFLYVOGGjgXnYwH/0AKrNZ/Q9AGrnxvMDX1BIat
>> HxDg66h/112HCTsS2y4Ztx/NhsZiLee9VAhMew9b15TTrd76y27qd8Ud8XnLZy3L
>> XPiTzO5M2DMQr2Ixie4sNlWG7q6xxoA2Z7CUXl6S/pQI81v3VgbLLMb28oaURNBy
>> zDnNy9VpCIJsYBRBGTEHN9c/ZAcgtQFXShwMdMoajHbJpI5JyfT0jz9RBBaejAFQ
>> t0zggONp7yB+AecZ+jjuJAcgTeBlGAJ6bQGmUr2bsve8q+u7Cqym2w0RuRWxacRO
>> X5WacM55pacxGiFVHmEwA2+hPytP6HcwYxdA4bZAN2gy0vZG4XW8lxVfbWi+p68=
>> =xsCJ
>> -----END PGP SIGNATURE-----
>>
>
>
>
> 2 rue du Nord - 67800 BISCHHEIM - FRANCE - Tél.: + 33 (0)3 88 19
> 18 70 - Fax: +33 (0)3 88 19 18 79
> christophe@infra.fr - www.infra.fr
>
>
>
>
Received on Fri Feb 19 13:07:17 2010