G'day,
As Gibran suggested;
1) Make a port set covering ports 135-139 and 445
2) Make a zone that inlcudes the IP addresses of the PCs that you want to allow to print via your printer
3) Thirdly, use the port set (for both source and destination ports) and the zone in a rule that uses "TCP or UDP" as the protocol and "IN/OUT" as the direction.
4) This rule wouild need to be moved above any BLOCK rules you may have created that address this port range.
Cheers,
Ewen :-)
I don't know if I made the rule right.
Allow,TCP or UDP,In/Out
Source:Printer sharing zone(several ips)
Destination:My Mac address(DHCP sometimes changes my ip although I don't know why)
Source and Destination ports:Printer sharing ports set(135-139,445)
And it's above the only block rule there by comodo itself
The result is "It doesn't work."Still they can't use my printer in the block all incoming connections mode.
Neither did I see any log to prove the rule I made is fired.
Then I have some pics to show in the "Alert me to incoming connections"mode.
Pic1:After I allowed the alert,comodo made these two rules itself.my printer can be shared.
Pic2:The log shows it blocked many UDP incoming connections from port 137,but there's no problem with printer sharing as long as I'm in the"Alert me..mode".
Pic3:I changed the allowed rules made by comodo in pic1 to Ask,then these are showed in the log.
So I have got 2 conclusions:
1.It's not necessarily to allow incoming UDP through port 137 for printer sharing.
2.There are other rules need to add.