The gunmen tried to enter the al-Sirhaniyeh neighborhood of the strategic city of al-Qusayr, located about 35 kilometers (22 mi) south of Homs, on Friday, the SANA news agency reported.
Syrian government forces confronted the militants, killing a large number of them. Some of the gunmen managed to flee back into Lebanon.
There were no reports of causalities on the side of Syrian troops.
On Thursday, the Syrian Army made more gains in its fight against foreign-backed militants in Qusayr, and established their control over the towns of Brak, Jawadieh and Arjoun on the outskirts of the city.
Syrian government forces are now in control of most parts of the flashpoint city in the western province of Homs.
Syrian troops entered Qusayr from several directions on May 19 after weeks of clashes with militants. The army has kicked off the second phase of its operation in the city after successfully concluding the first phase of the battle.
Qusayr has been an important center and supply route for the foreign-sponsored militants fighting against the Damascus government.
Syria has been gripped by a deadly unrest since March 2011, and many people, including large numbers of government forces, have been killed in the violence.
Damascus says the chaos is being orchestrated from outside the country, and there are reports that a very large number of the militants are foreign nationals.
The Syrian government says the West and its regional allies including Qatar, Saudi Arabia, and Turkey are supporting the militants.
Several international human rights organizations have accused militants operating in Syria of committing war crimes.
Source: Press TV