[avahi] reflector + NETMAP problem
lennart at poettering.net
Sun Sep 26 18:02:47 PDT 2010
On Tue, 21.09.10 15:02, Timothy Redaelli (timothy.redaelli at gmail.com) 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
Note that Avahi is not intended to be used in ppp links, but only on
If you emply NAT then it's the job of the NAT router to translates
packets properly, not of the applications. That's the whole point of it
in fact... If you really want to use Avahi via this vpn link, then the
right fix is probably to add special mDNS translation support to
iptables, similar to the existing support for FTP.
Lennart Poettering - Red Hat, Inc.
More information about the avahi