Hi all, I’ve gotten a Brother machine (DCP series) that can do wifi printing/scanning over their proprietary app. However, I’d like to lock it down from my network, because having it on the same LAN as my other devices and the ability to phone out to the internet seem like room for mischievious activities.
For context, I have OpenWRT on my router, and my clients can access the Brother using their iPrint&Scan app and AirPrint on wifi, as well as the traditional USB port. But I’m not good in networking. In my research, I drafted out the following solutions:
- Create a firewall rule to block the printer itself from making outbound requests. Seems simple, but I’m not sure if this can persist after IP changes or not.
- Create a VLAN for “IoT devices” that cannot send outbound requests to my normal VLAN nor the internet. Inspiration from this video, I’d need to manage a new SSID but it may come in handy for more IoT devices later.
- Hook the Brother up to a Raspberry Pi via USB, and install CUPS + SANE on the Pi. Assuming the Pi cannot “phone home” on behalf of the printer, this makes it a local-only “print+scan service” on my normal network and doesn’t require an extra VLAN.
I’d like to ask: which solution above is best for “neutering” the Brother? Or are there any alternatives/details I might’ve missed? I’m not sure if blocking outbound requests this way is enough of a security hardening for an untrusted device, and if there are any usability issues I’ve overlooked so far.
Thanks for any advice, and please share any printer/scanner setup you have in your networks as well. So hopefully I can get more inspiration!
FWIW, I have a networked Brother laser printer hard-wired to my LAN. To prevent it from calling home or pulling unfriendly firmware “upgrades”, I just configured it with a static LAN IP & subnet, but no gateway address. Been running that way for years now. So far so good…
Anything dealing with printers generally requires at least a basic understanding of eldritch magic.
Long term, 2 is best, but 1 is a great immediate fix. Also, you should be able to assign a static IP based on the printers MAC address, which will keep the IP stable.
I did #2 and it works perfectly. I have an IoT VLAN and my Brother printer/scanner is on it. I pivoted to the Ubiquiti/Unifi network infrastructure several years ago due to mostly seemless integration with the routers/switches/APs. But have used OpenWRT in the past (but didn’t set up VLANs then). Not sure the steps and if it requires manual firewall rules for the VLAN in OpenWRT.
In case there identical/similar options to Unifi, however, I’ll just mention it’s pretty simple. Create the VLAN (new subnet vs the default network, e.g. 10.0.0.0/24 vs 10.1.0.0/24), deselect the “allow internet access” option, and make sure to select “network isolation” option (which blocks it from speaking to other VLANs/subnets). That’s it. (For conveniences, I also created another Wifi network call “XYZ_IOT” and then connected the printer to it. The network is fixed to that new IoT VLAN).
Technically, those options are effectively convenient shortcuts for firewall rules that will get removed or created, accordingly, for that specific VLAN.
Takes longer when you’re uncomfortable or struggling through it, but the complete setup time took maybe 15-20mins. If OpenWRT doesn’t have those convenience shortcuts, might take a bit longer to search for example firewall rule configs online and then make them.
- will block the printer but the app could still phone home
- may work but client devices should reach the printer in the vlan. also see point 1. best for other kind of iot devices
- best approach security wise but may take some work to it get running smoothly
What I would do:
- (easiest) block the printer and look what the client does. block any suspicious client behavior. you can use pihole to easily monitor/ block, later you can add firewall rules on your router
- (bit harder) your option number 3 if: you have a raspberry pi, your printer works well with sane and cups, you can set up clients to your desired workflow (having many non tech family members wanting to print will quickly become a nightmare)
Your 1. seems good enough as a starter, yeah. I’ll probably tell my users to ditch the app altogether otoh, so I’m looking forward to the Pi as a long-term solution
Though, what kind of non-tech nightmares are you referring to? I’d think that if being done properly and with autodiscovery enabled, it would be as seamless as “connect to printer/scanner X on the network” which is the Pi itself. But I probably haven’t understood enough
I do 1.
I have DHCP but everything static gets a static IP. I need my home assistant to be able to reach both the internet and my IoT device, no idea how I’d put it in both VLANs.In a similar situation, my theory is that I can eventually configure ACLs specifically to accept connections sourced to my IOT static IP assigned devices with an implicit deny all that prevents everything else.
Though, I may be planning this all wrong, since all connections occur after my firewall, I might need to eventually set up ACLs on my smart switch.
I have option #1 set up for my hp printer using its mac address on opnsense. it’s worked for several years to prevent phoning home, updates breaking 3rd party ink, etc. I also have its various smart features turned off. We only use it for printing and scanning on the local network anyway.
i’d do a vlan but I only have a dumb switch. that may be a future network upgrade as part of maybe upgrading faster than 1gig ethernet.
CUPS and USB. Dead simple, no messing with network stuff or trying to get proprietary apps working with vlans or firewalls.
It’s a printer, it already hellishly refuses to print or to even install correctly anywhere, it should be safe.
For myself, I use a static IP on all peripheral devices, like printers and scanners, in combination with a whitelist on the router because my devices don’t change very often and I can add new ones individually as they are acquired. We never print or scan from phones so it works well, and freely allows home network use while blocking external network access.
Beware any built-in home router solution like “parental block” for isolating devices because on mine at least, it only blocks IPv4 and anything using IPv6 sails right past it.
Also, you probably already do this, but always test, and keep a backup of your router/whitelist/exception settings.
DMZ.A DMZ is the opposite of what is needed here
This is just my story and how I have done/am considering looking at doing it. I to have a OpenWRT firewall, I to have lived in the Apple ecosystem my whole life, but I am slowly climbing out of it.
I have a Samsung laser printer of some sort, before I got into the whole home labbing and privacy thing I just had a raspberry pi of some sort (it rotated a few times because I was attempting the adblocking with pihole off and on). When I decided privacy was the better option and I had my pihole figured out I installed CUPS on a pi zero 2, I so rarely used the thing that it was not a thought for me to look up and install SANE I just used the app and the wifi from the printer. A day came a long when I had to do the wifi suffle to do the scanning when I thought there must be a better way and installed SANE. Fun side note; I have a perimant disability and see a physio, the insurance I have wants some paper work (that so rarely changes) every three months so I just have a script that looks at my calendar so the day of my physio treatments and counts the number of times I have seen them and prints out the documents if it is time to send them! So number 2 is my suggestion for sure if you are just beginning.
I have a vLAN (10.0.69.0/24) that my homelab sits on so my printer is attached to it that way with the pi I am using for CUPS and SANE, my HAOS pi is also on that vLAN and I see HA has something it can do with the printer I have considered looking at that once or twice. Now that you have mentioned this I may just read up on it because I have issues with SANE, not sure if it is configured correctly or my printer just really does not like it but if HA can do the things I may set it up and attach it to my IoT wifi vLAN (10.66.6.0/24) which does not access the outside world but HA and my 2 personal vLANs (10.42.0.0/24 for wifi and 10.4.20.0/24 for my VPN) can do things in it. I got into numbering my vLANs with fun combos when one day I was out and about when I could not connect to my VPN because it used the same IP range or something like that.
I use static IPs for everything within their own vLAN but I do not think it would be worth my time to set up firewall rules just for it when I have other options. If it does not need to phone home for anything other than data harvasting it is either not attached to the internet like my “smartTV” or it goes onto my IoT wifi that HA can do the stuff with.
Put it on its own VLAN or guest SSID in OpenWRT, then add a firewall rule that only lets your client subnet reach it on 631 and 9100. Block WAN for that zone completely. AirPrint discovery needs mDNS across zones, so you’ll want umdns or avahi as a reflector, and that’s the part that usually breaks. I’m building a home box that does this by default for IoT stuff. Would you want it to just work, or would you rather see the rules?
I use a vlan for certain isolated devices that only certain personal devices have access to via their IP static addresses set in my firewall. That VLAN has no WAN access either. Sure the devices could technically talk to each other, but that doesn’t seem like a big deal since they can’t go external and only my phone and laptop and a few other trusted devices can even connect into the VLAN.
Point at it and tell it to go to time out in front of everybody.




