PESHAWAR, Pakistan - A suicide bomber attacked the main border crossing for convoys ferrying supplies to U.S. and NATO troops in Afghanistan, killing at least 19 security officers, officials said.

The strike Thursday raised fears that the Pakistani Taliban is regrouping and making good on its word to carry out revenge attacks following the slaying of its leader, Baitullah Mehsud, in a CIA missile strike earlier this month.

Also in the border region, two U.S. missiles hit a suspected militant compound, killing six people, the latest in a string of such attacks, intelligence officials said.

Pakistan's lawless border with Afghanistan is a main front in the battle against al-Qaida and the Taliban, who are destabilizing both countries. Under heavy U.S. pressure, the Pakistani military has launched ground offensives and air attacks on the insurgents in recent months, but much of the region remains under militant control.

The suicide attacker walked up to a group of border guards outside their barracks at the Torkham checkpoint in the Khyber region and detonated his explosives, local police officer Sadiq Khan said. The victims were breaking their daylong fast during the Islamic holy month of Ramadan. The border had closed for the day a few hours earlier.

Ali Raza, an official in the administration office, said he heard a huge explosion in the building next door.

"We rushed out and saw destruction all around," Raza said.

He said several of the wounded told him the last thing they remembered was seeing a boy approaching carrying what they thought was water. It was unclear if the boy was the bomber.

At least 19 people were killed and 20 wounded, according to Fazal Akbar, the head doctor at Landi Kota hospital, where all the victims were taken.

The Torkham checkpoint marks the main border crossing from Pakistan's Khyber Pass into Afghanistan.

U.S. and NATO troops in landlocked Afghanistan rely on the supply line for up to 75 per cent of their fuel, food and other logistical goods. Thousands of civilian vehicles also use the route.

Militants have targeted NATO conveys and bombed bridges along the route in the past -- cutting off supplies briefly last year -- but Pakistani military analyst Hasan-Askari Rizvi said he doubted that was the motive in Thursday's attack.

"My own feeling is that this was aimed at those government forces rather than stopping supplies," he said.

Pakistan's government dispatched paramilitary forces to escort supply convoys through the Khyber Pass after several attacks last year, and there has not been a major assault on a convoy for nearly six weeks.

No one claimed immediate responsibility for the bombing, but the Pakistani Taliban will be a likely suspect.

Rizvi said the militants could be trying to prove they are still unified and effective after Mehsud was killed on Aug. 5. The Pakistani Taliban only acknowledged he was dead on Tuesday and named 28-year-old Hakimullah Mehsud as his successor after reports of a power struggle.