[SOLVED] Firewall rules for Samba (mDNS) Service Discovery for Apple devices

Taylan

Active Member
Oct 19, 2020
94
33
38
55
Hello everyone,

I'm having issues with service discovery, after enabling firewall on my LXC (smb with configuration for time machine*).
Everything else is working, aside from the server discovery after enabling firewall on the lxc.
Service discovery works again, after disabling the firewall on the lxc.

Here are the firewall macros** I'm using:
- MDNS
- SMB

What am I missing? Does it have something to do with the default rules and some broadcast, multicast packages gets dropped silently***?

*https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X
**https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_firewall_macro_definitions
***https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_datacenter_incoming_outgoing_drop_reject

Edit: I just solved it. The firewall rule for the MDNS was faulty. It had to has the multicast address as destination.
 
Last edited: