Access of cosmic rays to an ICME from external field lines