Iran may not need to put Boots on the ground in Syria or Iraq anymore. Since local forces are mostly trained and capable of fighting the Rats. Iran has a direct land route and air route for trade with Syria and Lebanon. This route is also of benefit to Iraq and Syria, for trade. Iran can do normal trade and Arms trade with both countries.
The policy of Iran can be a forward looking and progressive and practical long term one. Instead of establishing military bases, allowing national and local forces to defend their own interests. This policy becomes a more practical approach, as stability returns.
The powers that will be more in difficult position, are those that occupy land , keep these nations in subservient and dependent state, and try to block or push others out to gain monopoly position.
None of the occupation forces in Syria, prioritise Syrian national interests, over their own. But it takes a really wise man to see the road ahead. I think the best deal for Syrians is freedom and independence. Including ability to defend themselves. Not just be target of attacks.
Even Russia wanted to scale back involvement in Syria, after the Rats were largely beaten back. But unfortunately other problems like Turkey and American involvement stopped that.