WD My Cloud Mirror is visible only Mac-Ethernet-NAS but not Mac-Network-NAS

My NAS is no more visible and accesible since few day, this issue appears only if I try to connect through wifi network or via ethernetcable passing by the router. Instead if I connect my Mac directly to the NAS via ethernet cable it is visible on my Finder. I try almost everything to solve this issue, but dissamble my NAS! Anybody so skilled to help me, please?