I am not sure whether you're aware but Iran is on the blacklist of most technological companies. In our case even hosting a guest from one of these countries is considered to be a security breach and special procedures apply (e.g. deemed export).
I am not talking politics now. Just be prepared that you may get instant push back when it comes to your citizenship.
Well, No.
This does not apply to a job offer or work visa or whatever similar. Work visas are open to anyone from any country. The only difference is that for few countries local people are in priority by the law, such as the US, but not for many who look for educated foreign immigrants such as Germany and so on.
The rule you mentioned is only for the "US companies", in case of dealing with Iranian companies "with no permission". That's it.
Rules are clearly written on each country's migration website and when they try to offer a Visa, the migration itself will do their own checks, if they feel it is necessary. A tourist visa is not a permit for work.
Many Iranian citizens work abroad and honestly anyone who grants a work permit can grant a new citizenship after 4 years, more or less.
Therefore, as a result, the migration board/officer will do the security checks
for any nationality that they feel it is necessary, not the hosting company and this varies from a case to case.
I lived for 5 years in Sweden and nobody even complained about me somewhere