A self-cleaning filter comprising: - a tubular filter element extending in a longitudinal direction (X-X), - a plurality of suction nozzles arranged to rotate relative to said tubular filter element and spaced from each other in said longitudinal direction (X-X), - a suction duct disposed within said tubular filter element and configured to rotate relative to said tubular filter element, in a direction of rotation, about an axis extending in said longitudinal direction (X-X), wherein: - each suction nozzle comprises a suction pad located in the proximity of said tubular filter element, - said suction pad has a suction port for sucking the impurities filtered by said tubular filter element, - said suction nozzles are rotatably fixed to said suction duct, to rotate relative to the tubular filter element along a circumferential direction in the direction of rotation of the suction duct, - said suction duct has a plurality of connecting apertures, - each connecting aperture is connected to a respective suction nozzle through a connecting duct, - each connecting duct extends between a first end for connection to the suction nozzle and a second end for connection to the connecting aperture and comprises a central portion extending between the first end and the second end, characterized in that: - said connecting duct has a plurality of connecting sleeves, rotatably fixed to the suction duct and connected at opposite sides to respective connecting apertures and respective connecting ducts, - each connecting sleeve has a sleeve end that is only partially inserted in its respective connecting duct at the second end of the connecting duct and terminates at said second end of the connecting duct, and - each connecting duct is made at least partially of an elastic material and is connected to the suction duct such that the central portion is able to elastically bend relative to the second end at least along the circumferential direction, either in the direction of rotation or in a direction opposite to the direction of rotation. - a tubular filter element extending in a longitudinal direction (X-X), - a plurality of suction nozzles arranged to rotate relative to said tubular filter element and spaced from each other in said longitudinal direction (X-X), - a suction duct disposed within said tubular filter element and configured to rotate relative to said tubular filter element, in a direction of rotation, about an axis extending in said longitudinal direction (X-X), wherein: - each suction nozzle comprises a suction pad located in the proximity of said tubular filter element, - said suction pad has a suction port for sucking the impurities filtered by said tubular filter element, - said suction nozzles are rotatably fixed to said suction duct, to rotate relative to the tubular filter element along a circumferential direction in the direction of rotation of the suction duct, - said suction duct has a plurality of connecting apertures, - each connecting aperture is connected to a respective suction nozzle through a connecting duct, - each connecting duct extends between a first end for connection to the suction nozzle and a second end for connection to the connecting aperture and comprises a central portion extending between the first end and the second end, - each suction nozzle comprises a suction pad located in the proximity of said tubular filter element, - said suction pad has a suction port for sucking the impurities filtered by said tubular filter element, - said suction nozzles are rotatably fixed to said suction duct, to rotate relative to the tubular filter element along a circumferential direction in the direction of rotation of the suction duct, - said suction duct has a plurality of connecting apertures, - each connecting aperture is connected to a respective suction nozzle through a connecting duct, - each connecting duct extends between a first end for connection to the suction nozzle and a second end for connection to the connecting aperture and comprises a central portion extending between the first end and the second end, - said connecting duct has a plurality of connecting sleeves, rotatably fixed to the suction duct and connected at opposite sides to respective connecting apertures and respective connecting ducts, - each connecting sleeve has a sleeve end that is only partially inserted in its respective connecting duct at the second end of the connecting duct and terminates at said second end of the connecting duct, and - each connecting duct is made at least partially of an elastic material and is connected to the suction duct such that the central portion is able to elastically bend relative to the second end at least along the circumferential direction, either in the direction of rotation or in a direction opposite to the direction of rotation.