According to Brother (printer company) I need to set a rule for my firewall.
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.
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?
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.