OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Avahi / mDNS Proxy avaiable?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Avahi / mDNS Proxy avaiable?  (Read 16298 times)

SiD67

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
[SOLVED] Avahi / mDNS Proxy avaiable?
« on: August 31, 2017, 09:17:19 pm »
Hi everyone,

I am a long user of pfsense in my home enviroment, but since pf was a little bitchy sometimes when updating and I wanted to try ips I switches over to opnsense 2 weeks ago.
System feels much faster, and most things I was able so setup without problems.

But one feature I am missing is to forward mdns from interface to interface.

I have nothing special here, just a lan network and some vlans for wifi - control, internal wifi and guest wifi.

So my airplay receiver for example is not in the same network as my smartphone. On pf I just installed avahi for that and most of the time it workes without problems, sometimed I had to restart the service when the devices were not able to "see" them anymore ;)

I can´t find avahi in the plugins :( is there a different package avaiable for that or how can I implement forwarding mdns?

Regards

Dennis

Chage: Mark as solved
« Last Edit: September 07, 2017, 08:56:30 am by fabian »
Logged

SiD67

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
Re: Avahi / mDNS Proxy avaiable?
« Reply #1 on: August 31, 2017, 09:53:07 pm »
Hi found in the forum that mdns-responder will do the job ;)

I installed it with  pkg install mdns-repeater

and simply started it with my 2 interfaces and in this moment I am listening to my airplay stream from smartphone to my hifi receiver ;)

I would like to see this in upcoming releases an an generel option in the system configuration. I think there are much users that are using this and when it is so simple to start it could be general installed and used as an gui option maybe?

regards

Dennis
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: Avahi / mDNS Proxy avaiable?
« Reply #2 on: August 31, 2017, 10:23:56 pm »
Hi Dennis,

Indeed, a plugin is missing at this point. If we can get a bit of guidance which type of integration / configuration is needed we can see about changing that. Some people already use the package, they could also chip in.


Cheers,
Franco
Logged

SiD67

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
Re: Avahi / mDNS Proxy avaiable?
« Reply #3 on: September 01, 2017, 11:38:50 pm »
Hi Franko,

thank you for feedback.

I didn´t know mdns-repeater until I read it here in forum.
I can say, that avahi on pfsense had some options to play with (forward of ipv6 to ipv4 and vice versa e.g), but mdns-repeater seems to only need the interfaces it should work with (reX and reX_vlan in my case) and thats it, it out itself into deamon/background mode and there is a switch to see some kind of logging on console.

So I think it would be enough to just have an option in the general system configuration where you can select the known interfaces of the system to enable mdns-repeater to work with.

I am not really a programmer, didnt get any further than some pascal stuff 20 years ago and some shell scripting ;) but I think someone who knows the opnsense system and gui could do this very quick ;)

I hope there would be a way to implement this, that would be very nice ;)

regards and a beautiful weekend everyone ;)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: Avahi / mDNS Proxy avaiable?
« Reply #4 on: September 02, 2017, 12:47:00 pm »
Looks like this escalated quickly thanks to Fabian...

https://github.com/opnsense/plugins/commit/275803fd8


Cheers,
Franco
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Avahi / mDNS Proxy avaiable?
« Reply #5 on: September 02, 2017, 12:52:37 pm »
You can try the plugin here: https://forum.opnsense.org/index.php?topic=5879.0
Logged

SiD67

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
Re: Avahi / mDNS Proxy avaiable?
« Reply #6 on: September 06, 2017, 09:56:37 pm »
Hi guys,

wow your guys are awesome, tried it right now and it works great so far!

Thanks for quick answering and developing!



Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Avahi / mDNS Proxy avaiable?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2