Israeli troops have fired on protesters at the country's borders with the Palestinian territories, Lebanon and Syria.