Network and printer technician helping with UniFi AirPrint issues

Joe B.

Reviewed for technical accuracy

Specialities: UniFi Network, AirPrint & Bonjour/mDNS, VLAN design, multicast/broadcast filtering, printer discovery

UniFi “Block LAN to WLAN multicast” kills AirPrint — Bonjour/mDNS, multicast filtering & safe toggle matrix

Technician avatar Technician
Hey! Let’s get AirPrint working reliably through your **UniFi Wi-Fi** without ripping out security.
Quick topology check first so we don’t guess:
• Which UniFi gear and controller: **UDM / UDM Pro / UXG / Cloud Key + UniFi Network**?
• Are **iPhones/iPads/Macs** on a Wi-Fi SSID and the **AirPrint printer/MFP on wired LAN**, or are both wireless?
• On the SSID, do you see **Multicast and Broadcast Filtering → “Block LAN to WLAN multicast and broadcast data”** enabled, or any **Client Device Isolation / Guest Policies**?
• Symptom: printer sometimes shows up then disappears, or **AirPrint list is empty** until you toggle that UniFi multicast option off?
Customer
UDM Pro with a couple of UniFi APs. iPhones and iPads are on the main WiFi, the **AirPrint MFP is wired** on the LAN. If I tick **“Block LAN to WLAN multicast and broadcast data”**, all AirPrint printers vanish. If I untick it, AirPrint works but I’d like to keep multicast filtering on for performance/security.
Technician avatar Technician
Got it — that’s classic **UniFi multicast filtering vs AirPrint**.
AirPrint discovery depends on **Bonjour / mDNS** multicast (UDP 5353) between your **wired LAN printer** and the **WLAN clients**. When you enable **“Block LAN to WLAN multicast and broadcast data”**, UniFi literally drops those multicast packets from LAN to Wi-Fi, so iOS/macOS never see the AirPrint service.
Think of it as a toggle matrix:
• LAN → WLAN multicast must be **allowed** for **AirPrint, Sonos, Apple TV remote**, etc.
• WLAN → WLAN multicast and **broadcast** can often be filtered on guest/IoT SSIDs for isolation.
Plan: build a **safe UniFi toggle matrix** for your AirPrint SSID, keep security where it matters, and still pass the **Bonjour/mDNS** traffic AirPrint needs.
Customer
Makes sense. Where exactly in the UniFi Network application do I change this, and what should each multicast toggle look like for proper AirPrint discovery?
Technician avatar Technician
Step 1 — Open the UniFi SSID and set a baseline multicast toggle matrix
In the **UniFi Network Application / Controller**:
1) Go to Settings → WiFi (or Wireless Networks in Classic) and edit the SSID your **Apple devices** use for AirPrint.
2) Expand **Advanced → Multicast and Broadcast Filtering**.
3) For the AirPrint-capable SSID set:
  • **Block LAN to WLAN multicast and broadcast data: OFF** (must be off or AirPrint/Bonjour breaks).
  • **Block WLAN to WLAN multicast and broadcast data: optional** — leave ON if you want wireless client isolation, as long as printers are wired. If printers are also Wi-Fi, turn this OFF too.
  • Make sure **Client Device Isolation / Guest Policies** are OFF on this SSID, or they’ll also block AirPrint traffic.
4) Apply changes, then power-cycle the **AirPrint MFP** and toggle Wi-Fi off/on on one iPhone so it picks up the new multicast behavior.
Customer
I’m on the new UniFi UI but I found the WiFi network and those multicast options. AirPrint starts working as soon as I disable “Block LAN to WLAN multicast”. Is there any way to keep it on and still allow just the printer, maybe with the exception list?
Technician avatar Technician
Step 2 — Understand the “exceptions” and VLAN layout
On some UniFi versions you’ll see a small **exception list** next to “Block LAN to WLAN multicast”. In theory you can add the **AirPrint printer MAC** so its multicast is exempt. In practice, there have been UniFi firmware bugs where those exemptions don’t fully pass **Bonjour/mDNS** traffic or only work one way.
A few guidelines:
• If **iOS/Mac and the printer share the same VLAN/subnet**, the most reliable fix is simply **leaving LAN→WLAN multicast unblocked** on that SSID.
• If you must isolate, consider placing the printer in a dedicated **“Print/IoT VLAN”** and using an **mDNS reflector** or **Bonjour gateway** instead of relying on the UniFi exception logic.
• Make sure **IGMP snooping** isn’t breaking things on the switch side; mis-tuned multicast snooping can also stop Bonjour from reaching APs.
Customer
All my devices are in the same flat network right now, so VLANs are probably overkill. But sometimes the printer shows up, then disappears again after a while. Any extra settings I should check in UniFi?
Technician avatar Technician
Step 3 — Tame Auto-Optimize and make mDNS stable
In **Settings → System / Site** look for **“Auto Optimize Network”**. When enabled, UniFi may silently tweak **multicast, IGMP, DTIM, and minimum data rates** — great for Wi-Fi surveys, not so great for **AirPrint and Bonjour**.
• Turn **Auto Optimize Network: OFF** so your multicast settings stay exactly how you set them.
• On the WiFi network, avoid overly aggressive **minimum RSSI / minimum data rate** values; if iOS clients roam too aggressively between APs, they may briefly lose the AirPrint browse list.
• After changes, **restart the APs and the MFP** so the printer re-announces its **_ipp._tcp & _ipp._tcp,_universal** services via mDNS and the APs start forwarding them cleanly again.
Customer
After turning off Auto Optimize and LAN→WLAN blocking, it’s way better. But I also have a guest SSID where I absolutely want multicast filtering. Any way to keep AirPrint just on the main SSID and still lock down the guest WiFi?
Technician avatar Technician
Step 4 — Use a dedicated “trusted AirPrint” SSID
A common UniFi design is:
• **Trusted SSID (Staff/Home)** — where Macs/iPads live and printers are discoverable. Here you keep **LAN→WLAN multicast ALLOWED**, no guest isolation, standard firewall protections at the gateway.
• **Guest / IoT SSID** — here you can enable **Block LAN to WLAN multicast**, **Block WLAN to WLAN**, and full **Client Device Isolation**, and optionally put it on its own VLAN with a captive portal.
That way, **AirPrint discovery** only happens on the trusted SSID, and guest users cannot see your printers on Bonjour at all. If you later want limited guest printing, we’d use **firewall rules + an mDNS reflector** instead of opening multicast everywhere.
Customer
What about AirPrint across VLANs? If I move printers to an IoT VLAN in the future, will changing those UniFi multicast toggles be enough, or do I need extra gear/config?
Technician avatar Technician
Great question — **AirPrint across VLANs** is a different beast.
Bonjour/mDNS packets are **link-local multicast**, so they do not naturally route between subnets. If you move the printer to an **IoT VLAN**, you typically need:
• An **mDNS repeater / Bonjour gateway** (router, firewall, or helper service) to reflect **_ipp._tcp** and related records between the **client VLAN** and the **printer VLAN**.
• Appropriate **firewall rules** to allow TCP 631 (IPP), UDP 5353 (mDNS), and the printer’s IP between VLANs.
• UniFi multicast filters still must **allow LAN→WLAN multicast** on the SSID where the Apple devices live, or they’ll never see the relayed Bonjour.
We can absolutely design that, but for now your single-VLAN AirPrint works fine with the simpler **toggle matrix** we just implemented.
Customer
Is there any downside to leaving LAN→WLAN multicast unblocked on just this SSID? I’ve heard it can hurt performance or be a security risk.
Technician avatar Technician
On a typical small/medium network, keeping **LAN→WLAN multicast ON** for a single trusted SSID is perfectly reasonable.
• **Performance:** Most homes/offices don’t generate enough multicast to crush Wi-Fi. If you do have chatty devices (IPTV, CCTV, discovery protocols), we can tune **IGMP snooping** and prune noisy VLANs off the AirPrint SSID.
• **Security:** Multicast primarily affects **service discovery**, not access control. Real protection still comes from **VLAN separation, firewall rules, and good passwords**. As long as the SSID is for trusted users, letting them see printers via Bonjour is expected.
If you ever notice Wi-Fi lag, we can re-evaluate the **toggle matrix** and maybe carve out a minimal **“Apple devices + printers”** VLAN to keep multicast scoped.
Customer
Understood. After changing the UniFi multicast settings the printers show instantly on all iPhones and Macs, and they stay there. That’s exactly what I needed, thanks!
Technician avatar Technician
Summary: If **UniFi “Block LAN to WLAN multicast and broadcast data” breaks AirPrint**, you need a friendlier **toggle matrix** on the SSID that Apple devices use. Turn **LAN→WLAN multicast filtering OFF**, keep **guest/IoT SSIDs locked down**, optionally disable **Auto Optimize Network**, and verify Bonjour/mDNS from the wired printer can reach Wi-Fi clients. For cross-VLAN AirPrint, add an **mDNS reflector + firewall rules** on top. Want help mapping this to your exact UniFi version and VLAN plan? Open the chat.

Quick answer: the accepted fix

Accepted fix when UniFi “Block LAN to WLAN multicast” breaks AirPrint: edit the Wi-Fi network used by your Apple devices, disable Block LAN to WLAN multicast and broadcast data, turn off Auto Optimize Network, and keep Bonjour/mDNS allowed from the wired printer’s LAN. Leave multicast filtering and client isolation only on guest/IoT SSIDs so AirPrint discovery remains stable on your trusted network.


Why UniFi multicast filtering breaks AirPrint (Bonjour/mDNS discovery)

AirPrint relies on Bonjour / mDNS (UDP 5353) for printer discovery. The printer advertises its _ipp._tcp service on the wired LAN, UniFi APs relay those multicast packets to the WLAN clients, and iOS/macOS builds the AirPrint list. When you enable UniFi’s Multicast and Broadcast Filtering → Block LAN to WLAN multicast and broadcast data, those Bonjour packets are dropped at the controller/AP, so iPhones and Macs never see the AirPrint announcements, even though basic IP connectivity and pings may still work.

How to verify AirPrint is fixed on UniFi

After adjusting the **toggle matrix** for your SSID, confirm behavior step by step. First, make sure **Apple devices and the AirPrint printer are on the same subnet or routed with an mDNS helper**. Then power-cycle the printer and briefly toggle Wi-Fi on one iPhone. From multiple apps (Mail, Safari, Photos), open the **Print** dialog and check that the printer appears immediately and stays present as you roam between APs. If discovery is still inconsistent, re-check the SSID for any **Guest Policies, Client Isolation, or extra multicast filters**, and review gateway firewall rules if you’re crossing VLANs.

UniFi & AirPrint — quick multicast troubleshooting tips

Most “AirPrint not showing on UniFi” cases are just the wrong multicast settings or guest-style isolation on the AirPrint SSID.

Quick path: edit the **Wi-Fi network** your Apple devices use → under Multicast and Broadcast Filtering disable **Block LAN to WLAN multicast and broadcast data** → keep **Client Device Isolation** off → turn **Auto Optimize Network** off → restart the **APs and the printer**. For extra security, keep strict multicast blocking and guest policies only on **separate guest/IoT SSIDs**, not the trusted AirPrint SSID. This resolves the majority of **UniFi AirPrint / Bonjour discovery** problems in small and mid-size environments.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.

Expert will respond in minutes

We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.

Save time & money

No scheduling hassles or expensive consults. Membership can save you significant time and money each month.

FAQ

Why does enabling “Block LAN to WLAN multicast” on UniFi break AirPrint?

The UniFi option drops multicast and broadcast from the wired LAN to Wi-Fi clients. AirPrint depends on Bonjour/mDNS from the printer’s LAN interface to reach iPhones, iPads, and Macs, so when that traffic is blocked the AirPrint list goes empty even though the printer is still online.

What UniFi multicast settings are recommended for AirPrint?

On the SSID that Apple devices use, leave Block LAN to WLAN multicast and broadcast data OFF, avoid guest isolation, and keep **Auto Optimize Network** disabled. You can still use client isolation and multicast filtering on separate guest or IoT SSIDs that don’t need AirPrint or Bonjour discovery.

Can I keep UniFi multicast filtering on for guests but still use AirPrint?

Yes. Put trusted Apple devices and printers on a **separate SSID/VLAN** where LAN→WLAN multicast is allowed, and keep multicast filtering and client isolation enabled only on the guest SSID. That way guests stay locked down while staff or home devices retain full AirPrint functionality.

Do I need extra configuration for AirPrint across VLANs on UniFi?

For cross-VLAN AirPrint you usually need an **mDNS/Bonjour reflector** or gateway plus firewall rules that allow UDP 5353 and IPP traffic between the client VLAN and the printer VLAN. UniFi multicast toggles alone are not enough, because Bonjour is link-local and does not naturally route between subnets.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant