Attempting to set up firewall rules to allow printing across VLANs

Hello,

I have just bought a Brother printer and am trying to set it up. As it is, I have set it up successfully to work with devices on my WiFi VLAN.

Unfortunately, my main PC is on another VLAN and I want to be able to be able to print from it. Is there some kind of traffic rule that I can set to allow this? I'm not very knowledgeable on networking in general.

I can post any configs needed and thanks.

You can make a firewall rule to allow traffic from the PC vlan to the printer vlan. I suppose there is some reason you have separated the networks in vlans, so add conditions for rule matching accordingly, e.g destination IP, ports etc.

My use case:

  • all printers are attached to a CUPS server (IP 172.21.10.30, port 631)
  • my devices (PC and CUPS server) are connected at the LAN vlan/zone

This is my firewall rule to grant access from the GAST vlan/zone:

config rule
        option name 'GAST-2-PRINTER'
        list proto 'tcp'
        list proto 'udp'
        option src 'gast'
        option dest 'lan'
        option dest_port '631'
        list dest_ip '172.21.10.30'
        option target 'ACCEPT'

You must customized this rule according to your zone names, your printer IP and port.