What is mDNS Repeater ?

mDNS-repeater is a Multicast DNS repeater for Linux. This program re-broadcasts mDNS packets from one interface to other interfaces.

This works with Apple devices such as an iPhone and Apple TV. And with Chromecast.

Installation

mDNS-repeater is installed with the Pakfire web interface or via the console:

pakfire install mDNS-repeater

Usage

mdns-repeater only requires the interface names and it will do the rest. The ipfire standard installation defines blue0 for the wireless interface and green0 as the internal LAN interface.

mdns-repeater green0 blue0

By specifying the -f flag for debugging, packets are printed as they are received.

Small example with debug flag:

[root@ipfire ~]# mdns-repeater -f green0 blue0

mdns-repeater: dev green0 addr 192.168.60.1 mask 255.255.255.0 net 192.168.60.0
mdns-repeater: dev blue0 addr 192.168.65.1 mask 255.255.255.0 net 192.168.65.0
data from=192.168.65.141 size=169
repeating data to green0
data from=192.168.60.145 size=540
repeating data to blue0
data from=192.168.60.105 size=357
repeating data to blue0
data from=192.168.60.210 size=353
repeating data to blue0
^C
[root@ipfire ~]# 


Start / Stop / Restart / Status

[root@ipfire ~]# /etc/rc.d/init.d/mdns-repeater 
Usage: /etc/rc.d/init.d/mdns-repeater {start|stop|restart|status}


Firewall Rule