KABUL (AFP) - About two dozen Taliban militants - including suicide bombers - were killed Saturday in a failed attempt to storm two US-run bases in a volatile town in eastern Afghanistan, NATO said. The alliance said that its troops had 'repelled two failed attacks at bases in Khost, killing a total of 24 insurgents with the help of Afghan security forces. The attackers targeted US-run Forward Operating Bases (FOB) Salerno and Chapman, the International Security Assistance Force (ISAF), NATOs mission in Afghanistan, said in a statement. While the majority of the attacking fighters were killed outside of the FOBs, two insurgents managed to breach the perimeter and made it onto FOB Salerno, the statement said. About 15 rebels were killed near Salerno, six near Chapman and three others including a rebel commander in an airstrike while retreating from battle in a vehicle, the statement added. Seven suicide bomb vests were also seized along with bomb-laden vehicles that the rebels often use in suicide attacks, the statement added. Local police chief Adbul Hakim Ishaqzai said the assault was foiled after militants attacked (FOB) Salerno before retreating to occupy a secondary school near Camp Chapman, both in the Khost city. In December Camp Chapman became the scene of the worst attack on US intelligence officials since 1983, when seven CIA agents were killed. Saturdays assault began in the early hours of the morning when insurgents launched rockets and fired guns at FOB Salerno, Ishaqzai said. He said the attackers then turned on Chapman, closer to the city. The attack has been foiled, Ishaqzai said. We have recovered 14 bodies, those of Taliban who were killed fighting. Five Taliban have been captured alive. The fighting lasted for several hours with the remaining Taliban attackers shooting at security forces from positions in a corn field near the school that had been attacked earlier, he said. A senior police official who spoke under condition his name not be mentioned said that about 25 rebels took part in the attack most of whom have been killed. Residents of Khost reported hearing gunfire. There are gunshots being heard all around my home. Im scared of the attackers entering my home and of being bombarded by coalition forces, said resident Amir Shah as the gunfight broke out near Chapman in the first hours of the day. Taliban spokesman Zabihullah Mujahed contacted AFP to say the insurgent group had dispatched suicide bombers to the base. Twenty-eight Taliban suicide bombers have launched an attack on a coalition base in Khost, he said from an undisclosed location. They have entered the base, he said.