Censorship may not be as severe as China but the Iranian government is very paranoid these days due to security breaches in the recent war. Some of those breaches were hilarious Tbh and reflected badly on the regime. Its best not to be caught with your pants down while using a VPN illegally. There is not telling what they are up to in their extreme paranoia.
How is censorship related to security? And why there should be more censorship during a war?