Original: The town has road and rail linkages with Peshawar city of Pakistan, and a pass connects it with Landi Kotal, located near the borders  of Afghanistan.
Simplified: The town has road and rail linkages with Peshawar city of Pakistan, and a pass connects it with Landi Kotal, located near the borders of Afghanistan.