Pakistan is set to immediately reopen the border crossing used by Nato to transfer supplies into Afghanistan, the foreign ministry has said.
The crossing has been closed for 10 days, leaving hundreds of lorries stranded on roads across the country.
"After assessing the security situation in all its aspects, the government has decided to reopen the Nato/Isaf supply from the Pakistan-Afghanistan border at Torkham with immediate effect," the ministry said in a statement on Saturday.
Suspected Taliban fighters have been taking advantage of the situation, setting about 100 lorries on fire since the closure.
Saturday's announcement came just hours after nearly 30 tankers carrying fuel for Nato troops in Afghanistan were torched in southwestern Pakistan - the sixth such attack in over a week.
At least 20 armed men launched the attack on the tankers, which were parked at a roadside restaurant near the town of Sibi, officials said.
"The attackers first fired shots and then fired small rockets at the tankers. Twenty-eight to 29 tankers caught fire," Naeem Sherwani, a government official, said.
He said one of the paramilitary soldiers escorting the convoy was wounded.
Armed groups have stepped up attacks on convoys carrying supplies for Nato forces since a cross-border US helicopter raid on September 30 that killed two Pakistani soldiers in northwestern Pakistan.
In retaliation for the raid, Pakistan closed a vital supply route for the international forces in Afghanistan and has kept it sealed since, despite apologies from Nato and the US for the death of the soldiers.
The closing of the Torkham border crossing in the Khyber area has left dozens of lorries stranded, making them vulnerable for attacks by the Taliban, Al Jazeera's Kamal Hyder reported from Peshawar.
Lorry routes through Pakistan bring in around 40 per cent of supplies for Nato forces in Afghanistan, according to the US Transportation Command.
Of the remainder, another 40 per cent comes through Afghanistan's neighbours in the north and 20 per cent by air.
Discussing Saturday's attack in the southwest, Talat Masood, a military analyst and former general in the Pakistan army, told Al Jazeera: "While security is the responsibility of the state and the Pakistan military, the individual security of these tankers has been outsourced to companies inside Pakistan, which have been operating for a long time.
"And when these trucks started clustering as a result of the suspension of the route - I think there were hundreds of thousands of trucks which were stranded along the route - they became a very easy target for the militants. And I think there is some criminal activity as well."
Pakistan's relations with Nato are already strained over the intensifying drone attacks in the border regions.
On Friday night, at least five suspected Taliban fighters were killed in the latest such strike in the North Waziristan tribal region.
Osama bin Javaid, news editor for DawnNews, called the US-Pakistan relationship "very fractured" and told Al Jazeera that the increasing number of drone attacks are "the bone of contention between the two states, which are key allies in the war on terror".
Bin Javaid also said that military analysts in Pakistan feel that the US is trying to find a "trophy piece" before leaving Afghanistan.
Pakistan said that there was "no justification nor understanding" for US drone strikes on its soil, which have killed about 150 people in the past month.
"We believe that they are counter-productive and also a violation of our sovereignty," Abdul Basit, a foreign ministry spokesman, said. "We hope that the US will revisit its policy."
Source: Al Jazeera and agencies