If you have the resources, your best solution (from my not-particularly enlightened position) is to leave Iran for a gay-friendly EU member for either occupation immigrant status or asylum.
Unfortunately, sexual orientation / alignment / identity is not considered immediate grounds for asylum due to the difficulties of proving this form of identity and the abuses asylum seekers have done with it; it may be worth it, nonetheless.
I doubt that Iran will develop any gay-friendliness in its legal codes or social structures for the conceivable future; reasons include:
- the current swing toward reactionary authoritarianism following the end of Khatami's reformist presidency
- the perpetuation of '79 Revolution mentality and individuals, including those old enough to recall the corrupt US-supported ("West-supported") Shah prior to the Revolution
- Iran's continued (and still relatively young) identification as an Islamic (part-)theocracy, including the use of Sharia law
- Iran's geographical location, surrounded by gay-hostile neighbors
- the bungling US foreign policy initiatives toward Iran fail to strengthen or enable indigenous reformist movements
F*ck, we (as in the global conglomerate LGBTQ community) are still struggling for rights of assembly and public dignity in Poland and the Baltics, all of which are part of the EU and officially subscribe to EU directives regarding the movement toward human rights for LGBTQ persons. Barring extraordinary occurences, Iran's going to take decades before it can constructively reconcile its society with LGBTQ rights.
***Spartacus: International Gay Guide
suggests Homan as an online resource for Iranian gays. It is an exile organization based in Los Angeles, California, USA.
From the 2006 editionHoman
"Exile international organization with offices in several countries. Information on the gay legislation as well as list of other gay and related sites in Iran is available on their website"