How to set up firewall to permit printing

Hi All
I installed Tumbleweed recently and am trying to get my printers to work. I have a Brother HL-L2305W laser printer and an Epson XP-442 colour dot matrix printer.
I spent a lot of time trying to get them to connect but had no luck at all. Eventually I tried turning off the firewall, and amazingly they both worked. A bit more RTFMing told me I needed to enable mdns and ipp in the firewall to allow the printers to work while the firewall was active, so I did that but the firewall is still blocking the printers. The only way I can print is to turn off the firewall first.
My question is, what do I have to add to the firewall setting to allow the printers to work?
Thanks.

You should start by showing the existing firewall configuration:

firewall-cmd --list-all-zones

Check that the network interface of interest is in the applicable zone, and that the configuration was made to the appropriate zone as well.

@deano_ferrari thanks for the quick reply.
I found the problem.
When I first installed Opensuse and looked at the firewall (using yast firewall), there was only one interface defined, called ‘docker0’. I had no idea what that was, so basically ignored it. The command you suggested showed me all the zones, and the first thing I noticed was that most of them didn’t have an interface defined. A zone called ‘docker’ did, and it was ‘docker0’. However another one, ‘public’, had an interface ‘eno1’ set. This looked a bit like an interface name to me, so I added the ‘home’ zone (in the ‘interfaces’ tab in yast firewall’) with an interface name of ‘eno1’, and printing now works.
I can’t figure out how to delete the docker0 one, but I guess it doesn’t matter.
Anyway thanks for pointing me in the right direction.
:wink:

As suspected. Glad to have been of guidance. :wink:

That comes as part of firewalld. Just ignore it.

Consider it ignored.
Love the nick BTW. Mine is car related too but not so obvious maybe. I’m a fan of the English car marque Morgan, and their flagship car the Plus 8. In England Morgans are known as mogs, hence the nick. Sort of. I signed up to the Suse forum years ago with my standard nick, mogplus8, with an email I no longer have access to, and despite my best efforts I wasn’t able to get it changed to my current email. So the easiest thing was to create a new account. With an extra ‘8’.
:slight_smile: