Influence of a solar active region on the interplanetary magnetic field