Mapping the magnetosheath field between the magnetopause and the bow shock: Implications for magnetospheric particle leakage