UDP broadcast relay for Docker - relay UDP broadcasts across VLANs/subnets with mDNS support
7.5K
A Dockerized UDP broadcast relay that enables IoT device discovery across VLANs. Works alongside any network controller that already handles mDNS repeater functionality (for example, UDM Pro, UniFi Dream Router).
Warning
- Each container instance must use a unique RELAY_ID between 1 and 99 to prevent loops.
- Each container relays to all configured interfaces. For selective paths, run multiple containers with different interface sets.
Many IoT ecosystems depend on UDP-based discovery. This container listens on the specified UDP port and relays traffic between the VLAN interfaces you list.
Key features:
docker run -d \
--name udp-relay-hdhomerun \
--network host \
--cap-add NET_ADMIN \
--cap-add NET_RAW \
-e RELAY_ID=1 \
-e BROADCAST_PORT=65001 \
-e INTERFACES=br0.10,br0.20 \
docker.io/firbykirby/udp-broadcast-relay:latest
Notes:
This container bridges UDP discovery across VLANs. For selective discovery paths, run one container per device family or per path.
VLAN 10 (IoT) VLAN 20 (Media)
| |
| UDP Broadcast |
|------------------------>|
| |
v v
HDHomerun Tuner Media Server
Tip Use multiple containers when you need fine-grained control. Example: one container for VLAN 10 ↔ 20, another for VLAN 20 ↔ 30.
Relationship to mDNS:
This container packages the upstream tool: udp-broadcast-relay-redux. Contributions and issues are welcome: https://github.com/udp-redux/udp-broadcast-relay-redux
GPL-2.0 (same as upstream udp-broadcast-relay-redux)
Content type
Image
Digest
sha256:b4d9f8427…
Size
3.6 MB
Last updated
3 months ago
docker pull firbykirby/udp-broadcast-relay