# mDNS Repeater - Tutorial?

**URL:** <https://community.ipfire.org/t/mdns-repeater-tutorial/489>\
**Category:** Add-Ons\
**Created:** [3 December 2019 08:33 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489 "2019-12-03T08:33:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [3 December 2019 08:33 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/1 "2019-12-03T08:33:54Z")

</div>

Hello,

were i can find an tutorial to use the mDNS-Repeater Addon from Pakfire? All links in wiki are broken

regrads

BetaTester

---

<div class="post-metadata">

**Author:** ![anon65703081](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@anon65703081](https://community.ipfire.org/u/anon65703081)\
**Post date:** [3 December 2019 10:17 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/2 "2019-12-03T10:17:46Z")

</div>

Hi,

this link works [https://wiki.ipfire.org/addons/mdns-repeater](https://wiki.ipfire.org/addons/mdns-repeater)

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [3 December 2019 10:31 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/3 "2019-12-03T10:31:18Z")

</div>

Thanks…

`mdns-repeater red0 green0` is not working  
`mdns-repeater green0 red0` is not working  
`mdns-repeater tun0 green0` is not working  
`mdns-repeater green0 tun0` is not working

i wood like to use an Printer over an OpenVPN Connection

EDIT:

```
mdns-repeater -f green0 tun0
mdns-repeater: dev green0 addr 192.168.2.1 mask 255.255.255.0 net 192.168.2.0
mdns-repeater: dev tun0 addr 10.31.29.1 mask 255.255.255.255 net 10.31.29.1
data from=192.168.2.28 size=221
repeating data to tun0

mdns-repeater -f tun0 green0
mdns-repeater: dev tun0 addr 10.31.29.1 mask 255.255.255.255 net 10.31.29.1
mdns-repeater: dev green0 addr 192.168.2.1 mask 255.255.255.0 net 192.168.2.0
data from=192.168.2.21 size=45
repeating data to tun0

```

both are sending data to tun0

---

<div class="post-metadata">

**Author:** ![anon65703081](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@anon65703081](https://community.ipfire.org/u/anon65703081)\
**Post date:** [3 December 2019 11:09 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/4 "2019-12-03T11:09:01Z")

</div>

Hi,

hope this helps [https://forum.ipfire.org/viewtopic.php?t=22722](https://forum.ipfire.org/viewtopic.php?t=22722)

Edit: To preserve the form the whole again machine translated:

Well, maybe someone will face the same problem in the future.

The Airprint discovery runs via multicasts, which are normally used by the  
Firewall can not be processed.  
The package “mdns-repeater” must be installed for this. As far as I have seen the packet is already preconfigured to process the multicasts green\<-\>blue. By adjusting the Startup-Config file or by a simple call in the shell (e.g. mdns-repeater red0 orange0) the other networks can also be handled.  
A network for multicasts must then be defined (224.0.0.0/24).  
Allow firewall outgoing from green and blue to this network.  
If you want to print via airprint a unicast will be used,  
therefore destination port 631 TCP must be allowed from blue to green.

Translated with [www.DeepL.com/Translator](http://www.DeepL.com/Translator) (free version)

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [3 December 2019 11:34 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/5 "2019-12-03T11:34:34Z")

</div>

How can i create an network for multicast tun0 \<-\> green0 ?

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [11 December 2019 08:35 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/6 "2019-12-11T08:35:03Z")

</div>

This wiki is not enough for me to make this AddOn Working…

---

<div class="post-metadata">

**Author:** ![ummeegge](https://community.ipfire.org/user_avatar/community.ipfire.org/ummeegge/32/16602_2.png) [@ummeegge](https://community.ipfire.org/u/ummeegge)\
**Post date:** [11 December 2019 08:54 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/7 "2019-12-11T08:54:53Z")

</div>

Hi,

> [@betatester](#):
>
> How can i create an network for multicast tun0 ↔ green0 ?

OpenVPN on IPFire works in routing mode so multicast/broadcast will not be transferred via the tunnel. For this, you would need a bridged mode.

Best,

Erik

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [11 December 2019 09:49 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/8 "2019-12-11T09:49:40Z")

</div>

Do you mean the “redirect Gateway” setting in OpenVPN? This is active for my connection

---

<div class="post-metadata">

**Author:** ![ummeegge](https://community.ipfire.org/user_avatar/community.ipfire.org/ummeegge/32/16602_2.png) [@ummeegge](https://community.ipfire.org/u/ummeegge)\
**Post date:** [11 December 2019 10:03 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/9 "2019-12-11T10:03:59Z")

</div>

No i mean the OpenVPN operating mode in general (–dev tun). Bridged mode needs ‘–dev tap’ which works on layer 2. routing mode works in layer 3 so multicast/broadcast can not be transferred.

Best,

Erik

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [11 December 2019 12:19 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/10 "2019-12-11T12:19:40Z")

</div>

Okay, thats to complicated to use it 6 times a year

---

<div class="post-metadata">

**Author:** ![xperimental](https://community.ipfire.org/user_avatar/community.ipfire.org/xperimental/32/16702_2.png) [@xperimental](https://community.ipfire.org/u/xperimental)\
**Post date:** [11 December 2019 18:55 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/11 "2019-12-11T18:55:29Z")

</div>

I don’t get it. Why do you need mDNS for accessing a printer via a OpenVPN connection?

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [11 December 2019 19:20 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/12 "2019-12-11T19:20:02Z")

</div>

because I am an Mac and iOS User. I use “AirPrint/ Bonjour” to access my Network printer…

---

<div class="post-metadata">

**Author:** ![pike\_it](https://community.ipfire.org/user_avatar/community.ipfire.org/pike_it/32/16763_2.png) [@pike\_it](https://community.ipfire.org/u/pike_it)\
**Post date:** [11 December 2019 19:33 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/13 "2019-12-11T19:33:58Z")

</div>

@betatester did you ever try to connect your iOs-thing to a Cups Server?

---

<div class="post-metadata">

**Author:** ![betatester](https://community.ipfire.org/user_avatar/community.ipfire.org/betatester/32/3288_2.png) [@betatester](https://community.ipfire.org/u/betatester)\
**Post date:** [12 December 2019 08:42 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/14 "2019-12-12T08:42:25Z")

</div>

No, i didn’t test it… I don’t like printserver… they cut printer functions

---

<div class="post-metadata">

**Author:** ![ummeegge](https://community.ipfire.org/user_avatar/community.ipfire.org/ummeegge/32/16602_2.png) [@ummeegge](https://community.ipfire.org/u/ummeegge)\
**Post date:** [19 December 2019 17:23 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/15 "2019-12-19T17:23:49Z")

</div>

> [@betatester](#):
>
> Okay, thats to complicated to use it 6 times a year

possibly yes.

Best,

Erik

---

<div class="post-metadata">

**Author:** ![pike\_it](https://community.ipfire.org/user_avatar/community.ipfire.org/pike_it/32/16763_2.png) [@pike\_it](https://community.ipfire.org/u/pike_it)\
**Post date:** [19 December 2019 20:04 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/16 "2019-12-19T20:04:17Z")

</div>

Yes, they do.  
Sometimes avoiding toner massacre and paper extermination.  
Sometimes providing an interface for something that does not have one, Just like an old serial plotter that did not have any driver, shared as a PostScript printer via CUPS, or providing AirPrint capabilities to an old Epson SX620FW 😉

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [20 December 2019 16:23 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/17 "2019-12-20T16:23:58Z")

</div>

> [@pike\_it](#):
>
> AirPrint

That would be great if that would work in IPFire 🙂

---

<div class="post-metadata">

**Author:** ![pike\_it](https://community.ipfire.org/user_avatar/community.ipfire.org/pike_it/32/16763_2.png) [@pike\_it](https://community.ipfire.org/u/pike_it)\
**Post date:** [20 December 2019 19:14 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/18 "2019-12-20T19:14:42Z")

</div>

Hell no, a tweak to Windows did the trick. Share the printer, install iTunes, add an old software by ElpamSoft and a little firewall exception (UDP 5353).  
But i managed to let a old friend to print to his Epson via PC from his iPad. Far cheaper than Printopia or buy a new device (he has a lot of tanks and he don’t want to buy something if the old one has not problems or missing something really necessary).

---

<div class="post-metadata">

**Author:** ![ziercket](https://community.ipfire.org/user_avatar/community.ipfire.org/ziercket/32/14377_2.png) [@ziercket](https://community.ipfire.org/u/ziercket)\
**Post date:** [4 February 2020 16:26 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/19 "2020-02-04T16:26:52Z")

</div>

Hi DJ-Melo,  
I think, your translation is quite good an gives me a roadmap to go.  
Just one question, which is not 100% clear to me right now.  
How do I assign a network 224.0.0.0/24 to a MULTICAST?  
Thanx in advance for your help here  
ziercket

---

<div class="post-metadata">

**Author:** ![anon65703081](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/90ced4/32.png) [@anon65703081](https://community.ipfire.org/u/anon65703081)\
**Post date:** [7 February 2020 09:18 UTC](https://community.ipfire.org/t/mdns-repeater-tutorial/489/20 "2020-02-07T09:18:13Z")

</div>

welcome. Sorry I don’t know. Maybe others can help.

[Next page](https://community.ipfire.org/t/mdns-repeater-tutorial/489.md?page=2)
