Does the ingress protection rating given to an inductive proximity sensor apply to the back of it as well as the front?
Not necessarily, as the open end of a cable or connector will need to be terminated correctly with a suitably rated junction box/connector to maintain its ingress protection (IP) rating.