mDNS-Bridge Available as a plugin os-mdns-bridge

Started by Pat.Ryan, Today at 03:07:48 AM

Previous topic - Next topic
Today at 03:07:48 AM Last Edit: Today at 03:10:09 AM by Pat.Ryan
Prior to netflector hitting the plugin list I had started to work on a plugin to incorporate the mDNS-Bridge package developed by Denny Page that is available in the FreeBSD upstream. mDNS-Bridge has been out for several years and is also included in pfSense where I first used it.

I have moved to OPNsense and wanted to bring this functionality along. A little more about mDNS-Bridge.

The current git repository is at https://github.com/dennypage/mdns-bridge. Taking some snips from there for a description:

  • mdns-bridge is a daemon for forwarding mDNS data between network interfaces. It is intended for use by firewalls to provide service discovery across network segments, with and without filtering, for both IPv4 and IPv6. By default mDNS Bridge forwards all service information between interfaces, however one of the biggest benefits offered by mdns-bridge is its ability to provide filtering on the service information shared between networks.
  • mdns-bridge has very flexible filtering, supporting both global filter lists that apply to all interfaces, as well as interface specific filter lists for both inbound and outbound.

I ran mdns-bridge as a package installed at the console command line fetched from the FreeBSD upstream for several months. That worked fine but it was a bit of a pain to edit the configuration file. So with some help from Claude I put together a complete os-mdns-bridge plugin package that will install the underlying mdns-bridge package and the GUI plugin. Once installed it can be updated on the normal OPNsense firmware update page.

You can find the repository and install instructions at https://github.com/PatrickTRyan/os-mdns-bridge.

I realize there is some overlap and some differences between this and netflector. This is light weight, has been in use for several years, and with the GUI it is pretty easy to setup. Even with this you still need a few firewall rules to manage the traffic between VLANs but they are pretty minimal.

Please give it a read and check it out. I left it completely separate between the mdns-bridge core product and the plugin. The install of my plugin will install both pieces and updates will also pull both as needed.