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
More than 200 drivers a day were caught using their mobile phones illegally in the wake of a major crackdown on the practice.
Tougher sentences will be handed out to perpetrators of domestic violence against children under plans being set out by the Conservatives.
Two people have been arrested after a car crashed into pedestrians in Marbella.