I love OpenWRT, but it doesn’t forward multicast packets between the WiFi (wlan0) and LAN (br-lan). DLNA discovery uses multicast 239.255.255.250.

I tried a few solutions like igmpproxy and udpxy but neither worked.

Avahi to the rescue

Avahi-daemon does this for us. There isn’t much documentation online, but I found it worked out of the box for me. These were the commands I used and I was immediately able to see my DLNA servers (on the LAN side) on my Wireless devices.


# opkg update
# opkg install avahi-daemon
# /etc/init.d/avahi-daemon enable
# /etc/init.d/avahi-daemon start

Finally, disable multicast snooping (from this ticket)

# echo "0" > /sys/devices/virtual/net/br-lan/bridge/multicast_snooping

(And add that line to /etc/rc.local to survive rebooting)

All working now!