According to Brother (printer company) I need to set a rule for my firewall.

brother printer instructions

as you can see at that page it says :

To scan using the Scan Key Tool, open the following ports in the security/firewall software you use:

  • UDP: 54925
  • TCP: 54921

I think I have it correct. but i’m new to linux and to creating rules in firewalls.

Those screenshots of how i created the firewall rule. I have the incoming set to “Deny” but I would assume that means that normally deny incoming BUT the rules I created should be exceptions. At least that’s how I would read that. If I am wrong please let me know.

The important part is that according to the instructions ports

  • UDP: 54925
  • TCP: 54921

must be opened and allow incoming traffic.

my end goal is to have the ability to push the “Scan” button on my printer/scanner and have a document scan and pushed to the computer. I am running Linux Mint 22.1

If you need more information to help me I’m happy to reply. The big item is :

is the firewall rule created correctly?

I should add that I did create a previous post about my brother printer and I went through brother to make sure the drivers are installed and setup . so that issue has been solved, now it’s just the firewall.

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    yes, something must be listening on that port on the PC (it can be a service without a window). I think ss and lsof can be used to check that. Not sure if they need root to get the list if listening programs.