4
submitted 2 years ago* (last edited 2 years ago) by andrewta@lemmy.world to c/linuxmint@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] lurch@sh.itjust.works 1 points 2 years ago* (last edited 2 years 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.

this post was submitted on 18 Apr 2025
4 points (83.3% liked)

Linux Mint

3665 readers
3 users here now

Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.

Want to see the latest news from the blog? Set the Firefox homepage to:

linuxmint.com/start/

where is a current or past release. Here's an example using release 21.1 'Vera':

https://linuxmint.com/start/vera/

founded 5 years ago
MODERATORS