The following figure shows the possible cable entries:
Connection box, not rotated:
Rotated connection box: