The Taleban are mostly active in southern and eastern parts of Afghanistan , close to the border with Pakistan .