An exemplary embodiment of the invention relates to an optical connector comprising a wave-guiding element and a lens device configured to transmit radiation between the wave-guiding element and at least one optical port of the connector, wherein the lens device comprises a first outer surface and a second outer surface opposite the first outer surface, wherein the first outer surface is connected to the wave-guiding element and forms at least one lens, and wherein a section of the second outer surface opposite said at least one lens forms said at least one optical port of the connector.