Gunfire erupted and water cannon was used as security forces tried to stop hundreds of Palestinian demonstrators breaking through to the Egyptian side.