The invention relates to a multi-ports extracorporeal medical device (1) having a selector body (19) which can be linearly displaced within the housing (16) in order to create different flow paths and connection among the ports. The device can for instance be used for reversing the flow in an extracorporeal blood circuit.