Nangarhar police chief Mohammad Sharif Amin told Reuters that a bomber detonated a car packed with explosives outside the consulate and an adjacent mosque.
The consulate was the intended target, he said, but most casualties were from the mosque.
Roads near the Indian consulate remained blocked as gunfire rattled through the area, deputy provincial police chief Masoom Khan Hashimi said.
Indian diplomatic missions have been targets of previous attacks in Afghanistan.
More top news
Concern over F1’s lucrative tax agreement has driven the Labour MP Margaret Hodge to table Parliamentary Questions about it
Supermarket chain Marks and Spencer has issued a recall of one of its soup products amidst fears of "possible chemical contamination".
The bill is President Trump's first attempt at passing a big legislative piece through Congress.