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
The Gunners demolished a lacklustre Villa side in ruthless fashion at Wembley
Breezy and wet tonight as rain sweeps in from the west meaning a miserable start to Sunday morning.
Prince William outlined a "huge disconnect between the sense of fair play" and "allegations of corruption" within Fifa.