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:

  1. 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.
  2. 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.
  3. 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!

  • Theoriginalthon@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 hours ago

    Static ipv4, don’t set a default gateway, or set the wrong gateway if it doesn’t accept blank fields… Quick and easy

  • fonix232@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    17 hours ago

    VLANs. You create an IoT VLAN, set it to be accessible the specific way you want, and you’re done.

    If you want to be extra secure you can fire up a Docker container that sits on this VLAN + your regular network, and proxies printer requests between the two, so you have perfect control over what happens and when.

    Fair note, none of the apps (e.g. AirPrint) will work this way. They use Brother’s cloud to connect to the printer.

  • rmuk@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    22 hours ago

    FWIW, I use the VLAN approach. I have a VLAN (101) specifically for IoT shit. The firewall allows devices on other VLANs - general purpose (104), infrastructure (102) and servers (103) to connect in to 101, but nothing can reach out. Works seamlessly. The only issue you might bump into is that some devices use UPnP/mDNS for discovery, but OpenWRT has a proxy module you can install to facilitate that.

    You may be wondering why the tags I use for my VLANs are so odd. I also wonder that sometimes.

    • njordomir@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Too true. I’ve spent more late nights arguing with CUPS than everyone I’ve dated in my whole life.

      • robojeb@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 hours ago

        At this point when I start mumbling expletives at the computer my wife just asks “Printer?”

        • njordomir@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 hours ago

          Does she also ask you anytime she wants something printed? Mine does!

          I saw a DIY open-hardware printer somewhere recently that uses a long butcher paper style paper roll and ink tanks. I’m intrigued. I don’t really use all the smart printer functions anyway.

  • Taasz/Woof@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    If you just want to stop it from having internet access then a firewall rule set to block from the printer IP, and dest !=LAN would do it.

    For IP changes you just need to make that lease static in OpenWRT and it will be fixed to that IP going forward.

  • ChunkMcHorkle@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    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.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 days ago

    Do your policy enforcement at the port level, connect the printer with a physical cable, that way even if the printer gets compromised and changes it’s Mac your rules still apply.

    Also setup your network alert system to notify you when a a new driver is available and the printer is behind so you can manually apply security updates.

    1 is fine from the port level

    2 is great, but more brittle

    2.5 only allow incoming connections to the vlan on printer ports, and outgoing mdns

    Depending on your threat model, you might need 3, if the printer is malicious, and printer drivers are also malicious, they can proxy information from the printer through a client device to the internet.

  • Mordikan@kbin.earth
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    I use VLANs for this as others have mentioned. You can create VLANs for the logical grouping of devices (ex. Home, Work, IoT, etc), then you create firewall rules to block specific traffic sourced from the IoT VLAN to the other VLANs or out the WAN interface. This still allows traffic originating from the Home/Work VLANs to talk to the printer but doesn’t let devices from that VLAN scan the network.

  • irotsoma@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    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.

  • Sanguine@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    I’d just shove it on the IoT network and then set up a device based rule to block WAN. That feels the easiest for me but I’m an amateur, someone in here knows more for sure.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    AP WiFi Access Point
    DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network
    IoT Internet of Things for device controllers
    Unifi Ubiquiti WiFi hardware brand
    VPN Virtual Private Network

    [Thread #163 for this comm, first seen 9th Nov 2026, 20:10] [FAQ] [Full list] [Contact] [Source code]

  • spaghettiwestern@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    You’re overthinking this with 2 & 3. All you need is to block all Brother Internet traffic.

    Set up a static DHCP IP for the printer in Openwrt and create firewall rules to drop all WAN packets to/from that IP.

    If you want to see evidence those packets are being dropped in real time use tcpdump. When watching LAN traffic you will see the printer sending packets to the WAN interface but will never see a response directed back to the printer.

    I have a Brother printer (plus cameras & TVs) and an Openwrt router set up that way and have had zero issues.

    • i_am_not_a_robot@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      1 is enough if the hardware manufacturer is currently trustworthy at the time you put the firewall rules in place. Brother is AFAIK trustworthy. I have a Brother printer which is on my main network with no special firewall rules, but my printer is old enough to drink. It never connected to any cloud services and could never update itself to introduce new anti-features.

      For both 2 and 3 you probably want a Raspberry Pi or other server to make the printer accessible to devices on your main network. Unless it’s a Facebook or Amazon or LG printer or something you should be fine with just 1.

      • spaghettiwestern@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        What’s your concern with a new printer? In case 1, once set up and working how is a company going to introduce malicious features when the printer has absolutely no Internet access?

        • i_am_not_a_robot@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          12 hours ago

          New printers can be okay. I don’t know of any specific problems with new printers except those ones with the ink subscription services. I’m saying my printer is old because it’s from another time. The only reason you’d isolate your networked printer in 2005 would be if you didn’t want other people to access your printer. Devices in your home automatically, deliberately making themselves worse on command from a cloud service was not a thing. The biggest danger with devices this old is that they probably have unpatched security vulnerabilities exploitable by anything else that gets on your network.

          I have a VR headset from Facebook that is on its own VLAN because it defaults to randomizing its MAC address by default and this allowed it to bypass the firewall, phone home, and nonconsensually install new anti-features after being blocked because the setting got reset back to random when changing something. Recent LG TVs and other devices with worse preinstalled malware have been known to make requests to other devices on your network, but I’ve never heard of them using those other devices to get around network restrictions, at least not directly.