Iran’s new offensive against social media is showing signs of backfiring.

Authorities in Tehran have ratcheted up their policing of the internet in the past week and a half, part of an attempt to stamp out the most far-reaching protests in Iran since 2009.

But the crackdown is driving millions of Iranians to tech tools that can help them...