OpenWRT routing uPnp/DLNA from Wired to Wireless

16 Nov, 2013  |  Written by  |  under Uncategorized

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!

No Responses so far | Have Your Say!

Leave a Feedback

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>