collinm
1
hi
i have a brother 2390dw laster printer who do also scanner.
When my firewall is active, my scanner is not detected
i read then some port need to be open to be able to find the scanner
firewall-cmd --zone=public --list-all --permanent
public
target: default
icmp-block-inversion: no
interfaces:
sources:
services: dhcpv6-client mdns
ports: 54925/udp 54921/tcp 5353/udp 5353/tcp
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
i have same issue
You have no interface assigned to the public zone.
Show us the output of
firewall-cmd --get-active-zones
collinm
3
firewall-cmd --get-active-zones
docker
interfaces: docker0
public
interfaces: wlo1
collinm
4
firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: wlo1
sources:
services: dhcpv6-client mdns
ports: 54925/udp 5353/udp 137/udp 54921/udp 161/udp 54921/tcp 515/udp 53791/udp
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
Can you explicitly configure sane for the network scanner using brsaneconfig4? Then no discovery needed…
sudo /opt/brother/scanner/brscan4/brsaneconfig4
[sudo] password for root:
USAGE: brsaneconfig4 -OPTION] OPTION:
-a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx
-a name=FRIENDLY-NAME model=MODEL-NAME nodename=BRN_xxxxx
: Add network scanner
-r FRIENDLY-NAME [FRIENDLY-NAME ...]
: Remove network scanner
-q : Query available network scanners
-h : Display this help message
-d : Diagnosis
-p : Ping (for network scanners)
-s:[LABEL] : Save current configuration
-l:[LABEL] : Load saved configuration
collinm
6
i contacted brother and mdns is used so port 5353 should work
the solution is manually to run this
firewall-cmd --zone=home --add-source-port=5353/udp
You already had that port included.