vfreex / mdns-reflector

a lightweight and performant multicast DNS (mDNS) reflector with modern design, supports zone based reflection and IPv6
GNU General Public License v3.0
165 stars 16 forks source link

Help needed #13

Open JacekKac opened 2 months ago

JacekKac commented 2 months ago

probably my question / problem is not related to this software direct but i am trying to achieve some workarroud and i thing i should usue mds-reflector.

My goal: Expose working homekit app on iphone roadwarior vpn client where my homekit accessories are in LAN where one of host is raspberry pi with openvpn server.

Now:

  1. homeikt is woring only from local network when my iphone is connected
  2. on my rasberry i can see service -> avahi-browse = wlan0 IPv4 openHAB _hap._tcp local hostname = [192-168-0-14.local] address = [192.168.0.14] port = [9123] txt = ["id=8a:e0:1f:83:2b:19" "md=openHAB" "pv=1.1" "ci=2" "sh=79UOzQ==" "sf=0" "ff=0" "s#=1" "c#=131"] the same is visible on iphone connected to lan

VPN: i want to connect my iphone to openvpn on raspberry and see exactly the same mdns informations. My vpn interface on raspberry is tun0 mdns-reflector -fn eth0 tun0 (eth0 is the same as wlan0) raspberry has two ips.

What am i missing? how to check if mdns-reflector is working?