Can I somehow install printing server on my router?

Hello

Can I somehow install printing server on my router to use it with Samsung M2070?!
Beryl AX.

Thanks in advance!

P.S: It should be password protected or put behind auth wall because I don't wanna someone mess with my printer.

It is possible with:

  • luci-app-cups (this luci app isn't available everywhere also since recently I don't think it is available on OpenWrt anymore )

  • luci-app-p910nd (recommended, might not available on gl firmware just tag a GL representative)

See:
https://openwrt.org/docs/guide-user/services/print_server/p910nd.server?s[]=procd*

No. This is not possible, by default your printer shares ports to print, this is also how the print server would access this same protocol on the printer.

If you really want isolation you want to place the printer in a different firewall zone and network interface this interface can be port based (easier) or vlan based, then use traffic rules which work like:

src: lan
src_ip: your special lan client
dest: printer
dest_ip: 192.168.12.2
target/action:accept

For example?

It is USB printer, not network one.

I need to prevent anyone who knows password to my WiFi being able to se printer without my consent.

You can tag @bruce

The plugin doesn't support passwords, because the print protocol doesn't use passwords.

Then port or vlan isolation is the only way, or you may can get away with this firewall traffic rule:

source zone: lan
source ip or source mac (can be found under advanced tab): !yourwhitelisted device
dest: lan
dest_ip: yourprint server 
dest port: 9100
action: reject

The ! means everything except listed ip, with other words for all other ips as source it will reject the packet.

This must be done in luci (gl advanced settings).

Hello,

You can install these third-party plugins in the firmware, but GL will not provide technical support for third-party plugins.

Please read the plug-in documentation to learn more:
https://openwrt.org/docs/guide-user/services/print_server/cups.server
https://openwrt.org/docs/guide-user/services/print_server/p910ndprinterserver