some DNS tunneling solutions work (dnstt for example). Also, many people have smuggled Starlink are are providing proxies inside Iran.
Ideally cjdns or similar can be used inside the country to create an alternative encrypted mesh network inside the borders, with some "exit nodes" out.