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

Linux Mint

2488 readers
6 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 4 years ago
MODERATORS
 

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
[โ€“] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

ok updated the firewall as you suggested. still no joy for my scanner being able to scan a document and send it to the computer.

first: is the firewall set correct? (if it isn't then please let me know)

second: do i have to have a specific piece of software on my pc installed AND running? for example do i need to have Document Scanner running at the time when I hit try to scan the document or will linux just know to bring up a document scanner piece of software?

but the big item is the firewall, is it set right?

[โ€“] [email protected] 1 points 2 months ago* (last edited 2 months 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.