International troops are beginning to pull out of Afghanistan and Pakistan is building up its forces to secure the border.
But despite these efforts, Taliban fighters still move freely across the mountainous area and attack security forces regularly.
The most recent attack killed more than two dozen police officers in Nasrat Darra in Pakistan's Upper Dir region.
Al Jazeera's Kamal Hyder gives this exclusive report from Upper Dir, where volunteers are joining the Pakistani Taliban's fight.