Turkey expects a "safe zone" to be set up in Syria along the Turkish border within a few months, otherwise, it will establish the buffer alone, President Recep Tayyip Erdogan said.

Erdogan previously said he and US President Donald Trump had discussed setting up a 32km security zone in Syria along the border, after Trump's decision to withdraw all 2,000 US troops from Syria. The technical aspects of the zone were still being discussed.

"We expect the promise of a security zone - a buffer zone aimed at protecting our country from terrorists - to be fulfilled in a few months," Erdogan told a televised rally on Friday, referring to the Syrian Kurdish militia that controls the area along the border and is deemed a terror group by Ankara.

"Otherwise, we will definitely form this safe or buffer zone ourselves. Our only expectation from our allies is that they provide logistical support to Turkey's effort," he added during the speech in the eastern province of Erzurum.

190123084117070

Erdogan's statement came after Turkey's foreign minister said on Thursday that Turkey has the capacity to create a safe zone in Syria on its own, but will not exclude the US, Russia, or others if they want to cooperate.

Turkey is seeking the zone to contain the US-allied fighters of the Kurdish People's Protection Units (YPG), which the US has armed and trained to fight against the Islamic State of Iraq and the Levant (ISIL, also known as ISIS) group.

The YPG is seen as an effective ground force by the US in the fight against ISIL, but Turkey says it is linked to the outlawed Kurdistan Workers' Party (PKK), which Ankara and Washington list as a terrorist group.

'Will not wait forever'

Ankara has threatened for months to launch a new offensive in northern Syria to drive out US-backed Syrian Kurdish fighters.

Turkish forces shelled YPG positions in the northern Syrian region of Tal Rifaat for a third consecutive day, state media reported on Friday.

The YPG still controls the small region of Tal Rifaat, wedged between the area under Turkish control to the north and areas controlled by the Syrian government and anti-Syrian government rebels to the south.

It is just 20km west of Afrin, which was taken by Turkey and its Free Syrian Army (FSA) allies in an operation last year aimed at driving out the YPG militia.

Turkish howitzers fired shots on YPG targets, according to Anadolu news agency. The report did not mention any casualties.

The defence ministry said on Thursday its forces had responded to YPG harassment fire from Tal Rifaat on Turkish elements operating in the Afrin region.

Erdogan put the new offensive on hold after Trump made a surprise announcement in December to pull out some 2,000 US troops, a decision that was welcomed by the Turkish government.

Washington's request for guarantees of the safety of YPG fighters during the troop withdrawal remains an issue, with Ankara fiercely rejecting any conditions.

US-allied Kurds

Turkey has repeatedly called for a safe zone in northern Syria but it hasn't come to fruition so far.

Trump's floating the idea has put the issue back on Ankara's agenda but Erdogan said on Friday that his government's patience was not endless.

"Our patience has a limit," Erdogan said. "We will not wait forever the fulfilment of the promises given to us."

The US-allied Kurds, who control much of the north, have rejected the idea of a "security zone", fearing a Turkish offensive against territory under their control.

The Turkish leader expressed Ankara's determination to clear the area east of the Euphrates River in Syria of YPG and ISIL fighters.

Erdogan and other Turkish officials have insisted over the last few days that Turkey had the right to intervene in Syria under a 1998 protocol signed with Damascus.

Erdogan and Trump have had several phone conversations to discuss the proposed security zone along the Turkish-Syrian border, as well as the US troops' withdrawal from Syria.