What is good for the people of Egypt is illegal for the people of Iran, according to numerous reports coming out of Tehran:

Scores of Iranian security forces deployed in the streets of Tehran on Monday to prevent a planned opposition rally in solidarity with popular uprisings in Egypt and Tunisia that toppled their presidents, witnesses said.

Here is a report from before the weekend about Ahmadinejad's support for the revolution in Egypt:

Iranian President Mahmoud Ahmadinejad on Friday urged Egyptians to continue their protests, to "free" themselves and choose their own leaders and their own form of government....Speaking during a massive rally to celebrate the 32nd anniversary of the Islamic revolution, Ahmadinejad said that the uprisings in the Arab world are inspired by Iran's struggle against Western powers.