Printing to Brother HL-L2360DW laser printer - create two firewall rules


This is for Bitdefender Total Security 2018 build 22.0.10.141, printing to an Ethernet connected Brother HL-L2360DW laser printer.


Bitdefender did not automatically create firewall rules to allow network printing after installation. Once I manually created these two firewall rules network printing worked. This may work for other Ethernet connected printers, so posting the rules in case they help others. I could not figure out the exact application to apply these to, so ended up making them "all applications" rules.


In Bitdefender select {B} icon, View Features, Firewall settings {gear} icon, Add rule:


Add a "status/information" rule:

   Settings tab:

      Apply this rule to all applications: YES

      Permission: ALLOW

      Network Type: ANY NETWORK

      Protocol: UDP

      Direction: OUTBOUND

   Advanced tab:

      Custom remote address: ON

      IP: (printer IP address e.g. 192.168.1.2)

      Ports: 161 (aka SNMP)

   Click OK


Add a "printing" rule:

   Settings tab:

      Apply this rule to all applications: YES

      Permission: ALLOW

      Network Type: ANY NETWORK

      Protocol: TCP

      Direction: OUTBOUND

   Advanced tab:

      Custom remote address: ON

      IP: (printer IP address e.g. 192.168.1.2)

      Ports: 515 (aka LPD/LPR port)

   Click OK


Note: Using Network Type of "Home/Office" did not work for me, even although the WiFi SSID is marked as the home network adapter. In my home network the printer is on a different IP subnet from the computer, so I don't know if that was the reason.


Bitdefender did automatically create a rule for the Brother brynsvc.exe application, but that was not sufficient to actually print. These two manual rules were required.

Comments


  • The printer was wireless or wired?


  • The laptop was WiFi (Windows 7). The printer was wired. They are on different local IP subnets (using VLANs in home network).


  • Note: if you need to discover/add this printer, you also need a rule for port tcp/80 (http). May be just easier to add on blank rule for all protocols? Here is the tcp/80 rule:


    Add a "discovery" rule:

       Settings tab:

          Apply this rule to all applications: YES

          Permission: ALLOW

          Network Type: ANY NETWORK

          Protocol: TCP

          Direction: OUTBOUND

       Advanced tab:

          Custom remote address: ON

          IP: (printer IP address e.g. 192.168.1.2)

          Ports: 80 (aka http port)

       Click OK