[avahi] reflector + NETMAP problem
lathiat at bur.st
Tue Sep 21 08:59:10 PDT 2010
On 21/09/2010, at 9:02 PM, Timothy Redaelli wrote:
> I want to use avahi (with reflector) in a VPN-based scenario.
> I enabled the reflector and the point-to-point option and it works,
> the only problem is that I have the network translated to the other
> side of the VPN (using iptables NETMAP):
> 10.0.0.0/24 <=> 172.30.3.0/24
> avahi returns the real IP (in the 10.0.0.0/24 class) instead of the
> translated one (172.30.3.0/24 class).
> Is it difficult to implement this? If it's to difficult to retrieve
> the netmap mappings you should use also a configuration entry
Unfortunately NAT breaks many protocols in this way... not just Avahi.
It's not really reasonable for us to try and detect this.. avahi is also primarily designed for local networks, not VPNs, etc.. so it's not really in the use case either.
So unfortunately; we won't support this.. you would be best to renumber your networks not to conflict and drop the netmap stuff.
More information about the avahi