Torkham is one of the main border crossings between Pakistan and Afghanistan .