Turkish ships and seafarers should steer clear of several Libyan ports, according to maritime consultancy Gray Page.

According to an alert from the company, all ships should exercise caution in the region due to the country's ongoing civil war, but Turkish interests are especially vulnerable given threats from the Libyan National Army.

"Turkish-flagged vessels and Turkish crew should not call at ports in eastern Libya ... without assessing the situation in consultation with local agents," the alert read.

It pointed to the ports of Tobruk, Derna, Benghazi, Zuetina, Brega and Ras Lanuf.

Turkey supports the Tripoli-based, UN-backed government in Libya, popularly known as the Government of National Accord. On the other side is a Tobruk-based government aligned with Khalifa Haftar, who leads the Libyan National Army and has support from Egypt and the United Arab Emirates.

In July, Haftar released six kidnapped Turkish seafarers after Turkey threatened retaliation. The ship was reportedly owned by a Libyan citizen.

All ships, regardless of flag or ownership, should exercise extreme caution in and around Libyan waters, provide port agents with schedules and routes, describe their cargo and disclose whether they are loading or unloading, Gray Page said.

Ships should avoid the coastal waters of Benghazi, Dema and Sirte.