A Palestinian spokesman said three attackers were killed.
Soldiers lying in ambush at Netsarim's greenhouses spotted an armed man at the fence and killed him, the army spokesman said.
Another force, at a western position, came under hand grenade and light arms fire from another advancing squad. The soldiers returned fire, killed one attacker, and wounded another.
At that time, "Palestinians launched several mortar shells at the community, causing no injuries or damage," the spokesman added.
A spokesman for the Fatah-affiliated Al-Aqsa Brigades said the attack was a joint operation with Hamas' al-Qassam Brigades and the Islamic Jihad's al-Quds Brigades. Recently there have been more cases of such cooperation.
The Palestinians planted an explosive devise on the road to Netsarim before they were spotted and killed, the al-Aqsa Brigades spokesman said.