V
V
Vladimir Kivva2019-04-23 17:07:08
Seal
Vladimir Kivva, 2019-04-23 17:07:08

How to configure HP printer detection inside Mikrotik hotspot?

HP printer network discovery from phones does not work if hotspot is enabled. The hotspot operator uses its radius and all, but the printer is in the hotspot exceptions and its ports are added to accept in the top firewall rules. All this revolves inside capsman (Mikrotik Wi-Fi semi-roaming). At first it didn't work with the hotspot disabled, it was solved via allow client-to-client in capsman.
Now it doesn't work with the hotspot enabled, I can't understand the reasons. With a direct indication, it prints normally. The hotspot provider says that everything should work like that.
The rules before the hotspot rules, at the very top, there are no prohibitions before them:

5    ;;; HP Printer TCP all allow
      chain=forward action=accept protocol=tcp dst-port=80,443,631,8080,139,9100,9200,9290,9500 log=no log-prefix="" 

 6    ;;; HP Printer UDP all allow
      chain=forward action=accept protocol=udp dst-port=427,3702,5353,139,161 log=no log-prefix=""

I allow packet forwarding on the advice of HP in all directions to the printer's IP address.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2019-04-23
@d-stream

https://support.hp.com/by-ru/document/c03375171 snippets from there:
"...HP uses Web Services Discovery to discover and communicate with HP printers. Other parts of the HP solution communicate with the printer over HTTPS ( usually port 443 or 8443. In most cases, the firewall will allow this traffic..."
"When searching for a list of printers, WSD initiates a request using UDP multicast to IP address 239.255.255.250and port 3702. After the printer is installed, HP checks connectivity before doing any work (such as printing, scanning, or faxing). HP calls this action "redefine". To re-detect, WSD sends a multicast UDP packet to resolve the printer's IP address. When looking for a printer by IP address, WSD creates a TCP socket on port 80. This is usually done under certain circumstances. "
But with special addresses like - there can be nuances

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question