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
A widespread frost will affect the UK due to plummeting temperatures along with a lingering fog in several areas.
Members of the Queen's Guard have been assigned the protection of armed police, amid reports they could be targeted by terrorists.
Three people have been banned from Birmingham’s new library for ‘personal hygiene issues’, according to a Freedom of Information Act.