Medical connector comprising a tubular body with an inlet fitting and an outlet fitting of the female luer-lock type connected to the body in a rotary and axially translatable way between a retracted position and an advanced position. One-directional detent assemblies enable rotation of the outlet fitting in one direction in the retracted position and in the opposite direction in the advanced position.