The attacks targeted checkpoints and security compounds in Gwadar province, Pakistan, on the border with Iran.