NATO forces in Afghanistan hit targets inside Pakistan with artillery and attack helicopters after coming under rocket fire from across the border, the alliance said on Wednesday.

Tension is high along the border with a sharp rise in attacks in eastern Afghanistan coming from inside Pakistan that Afghan and NATO officials blame on de-facto ceasefires between the Pakistani military and militants in its lawless tribal belt.

Troops from NATO's International Security Assistance Force (ISAF) "received multiple rocket attacks from militants inside Pakistan, July 15," the alliance said in a statement.

"The troops identified a (compound) as the point of origin of the attacks and responded in self-defence with a combination of fire from attack helicopters and artillery into Pakistan."

Nine Afghan soldiers were wounded by the rocket attacks and ISAF responded immediately, an ISAF spokesman said. ISAF and the Pakistani army "coordinated their operation closely from the outset. The Pakistani military agreed to assist and search the area if the border firing continued," the statement said.

Despite cooperation and open lines of communication between army commanders on both sides of the border, Afghan leaders have blamed Pakistani agents for a string of attacks.

These have included a suicide bomb on the Kabul Indian Embassy last week that killed 58 people and an April assassination bid on President Hamid Karzai.

Pakistan rejects the accusations and says the Afghan government is trying to deflect criticism of its own failure to stem the rising tide of Taliban violence.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.