Islamic State claimed responsibility for a suicide car bombing last week in the eastern Libyan town of Ajdabiya, the militant group’s news agency Amaq said.
The explosion at a checkpoint at the eastern exit of Ajdabiya, south of Benghazi, a military source said. It is close to the oil export ports of Brega and Zueitina.
Amaq said 14 troops of General Khalifa Haftar were killed or wounded. His forces allied to a parallel government based in the east control Ajdabiya and much of eastern Libya.
According to medics, six people were killed and nine wounded.
Islamic State, which lost its stronghold Sirte in central Libya in 2016, in October claimed an attack south of Ajdabiya during which two soldiers were killed.
The group retreated after the fall of Sirte to camps in the desert in southern Libya from where it launches suicide bombings and attacks on coastal towns.