Hey! We’ll get AirPrint working across pfSense subnets without tearing down your VLAN separation.
Quick topology scan so I can give you the right Avahi & mDNS reflector setup:
• Which pfSense version and hardware (Netgate appliance, VM, bare metal)?
• What subnets/VLANs are your iOS devices and AirPrint printers on (e.g. LAN 192.168.10.0/24, WiFi 192.168.20.0/24, IoT 192.168.30.0/24)?
• Can you ping the printer IP from the iPhone/iPad network, or is it blocked completely?
• Under Services → Avahi on pfSense, do you already see the package installed, or is this a fresh setup?
Customer
pfSense 2.7, running on a Netgate box. Printers are on LAN 192.168.10.x, and all iPhones/iPads are on a WiFi VLAN 192.168.20.x. Devices on WiFi can ping the printer IPs, but iOS just shows “No AirPrint Printers Found”. Avahi isn’t configured yet.
Perfect description, thanks — that’s classic AirPrint blocked by pfSense between VLANs.
AirPrint uses Apple’s Bonjour (mDNS) to discover printers. That’s multicast DNS on 224.0.0.251:5353/UDP with link-local scope. By default, mDNS does not cross subnets, and pfSense won’t forward that multicast traffic between interfaces unless you add an mDNS reflector.
So your routing/firewall allow unicast (ping, HTTP) from WiFi to the printer, but Bonjour discovery packets never leave the iOS VLAN. The fix is:
1) Install and enable the Avahi package on pfSense.
2) Configure Avahi in reflector/repeater mode between the WiFi VLAN and printer LAN.
3) Add or verify firewall rules allowing UDP 5353 and printer ports across those subnets.
4) Test that AirPrint shows up instantly on iPhone/iPad, without collapsing your VLAN security.
Customer
Makes sense. Where exactly in pfSense do I turn that on? I see Packages, but I’ve never used Avahi or an mDNS repeater before.
Step 1 — Install the Avahi mDNS reflector package on pfSense
1) In the pfSense WebGUI, go to System → Package Manager → Available Packages.
2) Search for Avahi and click Install. Wait for the install to complete, then you’ll get a new menu entry under Services → Avahi.
Step 2 — Enable mDNS reflection between AirPrint and client VLANs
3) Go to Services → Avahi and enable the service.
4) In the interfaces list, check the boxes for the networks that should share Bonjour: typically LAN (printers) and your WiFi / IoT VLAN where iPhones live.
5) Turn on options labeled like Enable reflection between interfaces or Reflector mode so Avahi will repeat mDNS queries and responses between those subnets.
6) Save and apply. pfSense will start the Avahi daemon, which acts as a Bonjour/mDNS relay across your VLANs.
Once that’s in place, we just need the right firewall rules so the packets aren’t blocked.
Customer
Avahi is installed and enabled on LAN and the WiFi VLAN. Still no AirPrint printers showing up on iOS though. I only have fairly generic any-to-any rules between those networks.
Got it — let’s tighten that up and make sure multicast is actually allowed.
Step 3 — Allow mDNS (Bonjour) and AirPrint traffic through pfSense
On the WiFi VLAN and LAN interfaces in pfSense:
• Confirm that you have rules allowing UDP from the subnet to 224.0.0.251, port 5353. Some “any to any” rules are written for unicast traffic only; we want to be explicit about multicast.
• Make sure you’re not accidentally blocking multicast or bogon networks on internal interfaces. The “Block bogon networks” checkbox should normally be off on local VLANs.
• Allow TCP 631 (IPP) and any other printing ports from WiFi to the printer VLAN so that, once discovered via mDNS, AirPrint jobs can actually reach the printer.
After saving rules, restart Avahi under Services → Avahi. Wait 20–30 seconds, then on an iPhone try pulling down to refresh the printer list in the print dialog. If it’s still empty, we’ll quickly verify which subnet the multicast packets are actually hitting.
Customer
I added explicit UDP 5353 rules on both VLANs and restarted Avahi. Now my iPhone briefly shows the printer, but sometimes it disappears again. Is that a pfSense/Avahi thing or the printer?
That “shows then disappears” behavior is pretty typical when mDNS reflection is only half working.
A few things to check for more stable AirPrint across subnets:
• In Services → Avahi, include only the interfaces that really need mDNS (for example, LAN and WIFI_VLAN). Reflecting across too many interfaces or VPNs can create noisy or inconsistent Bonjour behavior.
• Make sure the printer has a static IP address on the printer VLAN and that its own AirPrint/Bonjour service is enabled in the printer web UI.
• Avoid using .local as a custom DNS domain on pfSense, since that collides with Bonjour’s .local mDNS zone.
• If you’re using any IGMP proxy, PIMD, or custom multicast settings in addition to Avahi, keep the config simple at first — Avahi alone is usually enough for Bonjour and AirPrint between two or three subnets.
Once it’s stable for one printer and one iOS device, we can expand to multiple VLANs or add casting devices (Apple TV, Chromecast, etc.) with the same Avahi reflector.
Customer
I limited Avahi to just LAN and the WiFi VLAN and gave the printer a static IP. Now AirPrint shows up reliably on iOS, but a MacBook on the WiFi VLAN still doesn’t see it automatically. Any trick for macOS?
Good progress — if iOS can AirPrint through pfSense now, the core Avahi mDNS reflector is doing its job.
For macOS clients on that same WiFi VLAN:
• Open System Settings → Printers & Scanners, press “+” and wait on the Default tab. If Bonjour is working, the AirPrint printer should appear as an AirPrint or Secure AirPrint queue.
• If it doesn’t, test Bonjour directly with a tool like “dns-sd” from Terminal (for example, dns-sd -B _ipp._tcp). If you can see the printer service in that list, pfSense and Avahi are fine and we just need to add the printer in macOS.
• Worst case, you can still add the printer via IPP by IP address (e.g. http://printer-ip:631/ipp/print) while leaving Avahi in place for iOS AirPrint discovery across VLANs.
For pure pfSense/AirPrint SEO terms: this is exactly the pattern you want — pfSense mDNS repeater publishing AirPrint services from a printer VLAN into a WiFi or guest VLAN.
Customer
After a reboot everything still works, so that’s good. Any best practices so I don’t accidentally open up the whole IoT VLAN while trying to make AirPrint work?
Great question — we want AirPrint across VLANs, not a flat network.
A few pfSense-friendly best practices:
• Keep your regular firewall rules restrictive: allow the WiFi VLAN to reach only the printer IPs (and maybe DNS/NTP), not the whole LAN. You’ve already verified unicast works, so you can narrow those rules now.
• Avahi only repeats mDNS / DNS-SD traffic, not all traffic. You can safely reflect mDNS while still blocking SMB, RDP, admin ports, etc. between VLANs.
• For guest networks, consider putting printers on a dedicated “Print” VLAN and reflecting Bonjour just between Guest ↔ Print, not Guest ↔ full LAN.
• Periodically review Status → Services and Firewall → Rules to keep the config tidy as you add more Bonjour-aware devices (Apple TVs, smart speakers, etc.).
If you’d like, I can also help you diagram the current pfSense VLAN layout and propose a minimal rule set that keeps AirPrint working via Avahi but locks down everything else.
Customer
This already helps a lot. AirPrint works on the WiFi VLAN, printers stay isolated, and rules are more specific now. Anything different if I later add a separate guest WiFi with its own subnet?
The pattern is the same if you add another subnet — we just repeat it carefully.
• Add the Guest VLAN interface in pfSense and create tight rules so it can only reach DNS, the printers, and the Internet (no full LAN access).
• In Services → Avahi, check the new guest interface if you want guests to see AirPrint printers as well. Restart Avahi so it updates the reflector interface list.
• Add a specific rule on the guest interface allowing UDP 5353 to 224.0.0.251 and TCP 631 to the printer IPs. You still don’t have to open SMB, RDP, or admin interfaces to guests.
That way, pfSense acts as a central mDNS reflector for multiple VLANs, but you still keep each subnet firewalled and segmented the way you intended.
Customer
Got it. AirPrint over pfSense is working consistently now, even after reboots and on multiple phones. I’ll leave Avahi running between the right VLANs. Thanks for walking through it.
Summary: When
pfSense blocks AirPrint across subnets, the fix is to:
• Install and enable the
Avahi mDNS reflector on pfSense.
• Select only the VLAN interfaces that should share
Bonjour/mDNS (printer LAN + WiFi/guest networks).
• Add firewall rules to allow
UDP 5353 to
224.0.0.251 and
TCP 631 from clients to printers.
• Avoid using
.local as a DNS domain and keep VLAN rules otherwise restrictive.
If you want help double-checking your
Avahi config, firewall rules, or AirPrint-capable printers, just
open the chat and mention “pfSense AirPrint across VLANs”.
Why AirPrint breaks when printers and iOS devices are on different pfSense subnets
Apple AirPrint relies on Bonjour (mDNS) — a multicast DNS protocol that advertises printers on UDP port 5353 to the local subnet. By design, mDNS is link-local and does not cross routers or firewalls. When you segment your network with pfSense VLANs (for example, printers on LAN and iPhones on a WiFi or guest subnet), pfSense happily routes unicast traffic like ping and HTTP, but it does not forward multicast Bonjour traffic between interfaces.
Without an mDNS reflector, iOS and macOS clients never see the AirPrint service announcements being sent from the printer VLAN, so the print dialog stays at “No AirPrint Printers Found”. The pfSense Avahi package solves this by listening for mDNS traffic on selected interfaces and repeating those packets across subnets, effectively bridging Bonjour while keeping the underlying VLANs and firewall rules intact.
How to verify your Avahi mDNS reflector really fixed AirPrint across VLANs
After you enable Avahi on pfSense and add the right rules, the easiest test is from an iPhone or iPad. Connect to the WiFi or guest VLAN, open an app like Safari or Mail, choose Print, and pull down to refresh the printer list. Your printers on the other subnet should appear as AirPrint or Secure AirPrint targets within a few seconds.
For a deeper check, you can use a Bonjour browser or the dns-sd command on macOS to list _ipp._tcp and _printer._tcp services across VLANs. If those services show up from the printer subnet while you’re on WiFi, pfSense and the Avahi mDNS repeater are doing their job; any remaining issues will usually be printer-side settings, firmware, or extra firewall rules blocking TCP 631 from clients to the printer IPs.
pfSense & AirPrint — quick multicast and Avahi tips
Most “AirPrint doesn’t work behind pfSense” cases come down to mDNS not crossing VLANs, missing UDP 5353 rules, or Avahi not reflecting on the right interfaces.
Quick path: install the Avahi package, enable it as an mDNS reflector on your printer LAN and WiFi/guest subnets, then create explicit firewall rules that allow UDP 5353 to 224.0.0.251 and TCP 631 from client networks to printers. Keep other traffic locked down so you still benefit from VLAN isolation while AirPrint over pfSense works seamlessly on iPhone, iPad, and macOS.
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.
Why does pfSense break AirPrint when printers and iPhones are on different VLANs?
AirPrint depends on Bonjour/mDNS, which is multicast DNS limited to a single subnet by default. pfSense routes unicast traffic between VLANs but does not forward mDNS on UDP 5353, so iOS devices can ping the printer IP but never see the AirPrint service. Enabling the Avahi mDNS reflector on pfSense allows Bonjour announcements to cross those subnets.
How do I configure the Avahi mDNS reflector on pfSense for AirPrint?
Install the Avahi package via Package Manager, then go to Services → Avahi. Enable the service, select the interfaces that should share Bonjour (for example, LAN and WiFi/guest VLANs), and enable any “reflector” or “reflection between interfaces” option. Add firewall rules to allow UDP 5353 → 224.0.0.251 and TCP 631 between those networks, then restart Avahi and test from iOS.
What firewall rules are required on pfSense for AirPrint across subnets?
You need rules on the client VLANs that allow UDP 5353 to the multicast address 224.0.0.251 and rules that allow TCP 631 (IPP) from those VLANs to the printer IPs. Keep other ports locked down so that only AirPrint and essential services cross between VLANs while Avahi handles the mDNS reflection.
Can I still keep my IoT or guest VLAN isolated and use AirPrint?
Yes. Avahi only repeats mDNS/Bonjour traffic; it does not automatically open full access between VLANs. You can restrict firewall rules so guests or IoT devices reach only printers, DNS, and the Internet, while still using the pfSense mDNS reflector to discover AirPrint printers on a separate printer VLAN.