The Pakistani Taliban claimed responsibility for a blast which also injured at least 31 others.
suicide bomber rode a motorbike up to a security checkpoint a third of a mile from the consulate and detonated 22 pounds of explosives attached to his body, police spokesman Mohammad Faisal said.
The main target of the suicide bomber was Abdul Majeed Marwat, a commander for the Frontier Constabulary. Two members of the force and eight civilians were killed and 15 people were wounded, said the security officials.
This comes as at least 12 people were killed and around 32 others were injured following a car bomb explosion near a camp for internally displaced people in Peshwar.
Peshawar is the capital of Khyber Pakhtunkhwa, which is rife with Islamic extremists, including the Pakistani Taliban. The city which is gateway to the Khyber Pass and Afghanistan, has been a focus of militant violence.