The MS connectors can be had readily from a few suppliers, they are not cheap.
To dismantle a MS connector it usually requires removing a 'C' clip from around the edge of the connector, the inner insulator consists of two pieces which have to be separated in order to remove the pins.
The receptacle with mounting screws and a flange is called a Bulkhead fitting.
When re-assembling, the inner sections can be keyed in different positions, so mark where the pins are in relation to the hub key groove.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.