[libvirt] Fwd: libvirtd and listen_addr

Daniel Huhardeaux tech at tootai.net
Sun Jan 9 16:41:58 UTC 2011


Le 06/01/2011 18:58, Daniel P. Berrange a écrit :

[...]
>
> Or make libvirtd listen on 127.0.0.1, and then use iptables
> to setup a local port forwarding from 10.0.0.1 to 127.0.0.1
> on the libvirt port(s).

For the archives, iptables is not the solution as kernel doesn't accept 
to send out of 127.0.0.0 packets from 127.0.0.1 IP.

Solution is to use TCP redirection softwares like redir, stone or rinetd 
(non exhaustive list). It works perfect.

Thanks for having pointed us to a solution.

-- 
Daniel




More information about the libvir-list mailing list