The Israeli police said the thirty-seven-year-old gunman from a nearby village was also shot and died later.
Police said the man pulled out a gun as he waited to enter Har Adar along with Palestinian labourers and opened fire on police and security guards.
No group has taken responsibility for the attack, but Gaza-based Hamas and Islamic Jihad militant organisations have welcomed the killings.
