Iran's whitelists: what awaits VPNs when only local sites work
Internet whitelists in Iran: what is documented, how an approved-only mode differs from blocking, and what it would mean for VPNs.
An internet whitelist turns familiar censorship upside down. Normally the authorities close a list of forbidden sites and everything else stays open. Under a whitelist, only a list of approved destinations is open: banks, government portals, local messengers, ride-hailing and perhaps a handful of selected foreign addresses. Everything else, including foreign VPN servers, disappears for the user. Over roughly fifteen years Iran has assembled almost every part such a mode needs: a single gate at the border, a domestic network with its own services and experience with regional shutdowns. KRAKOBIT has found no public technical measurements confirming that the whole country has lived under an address whitelist for any sustained period. So this piece separates three things: what is documented, how a whitelist works, and why it is more dangerous for VPNs than any filtering.
KRAKOBIT has already covered the general mechanics for two countries in its piece on mobile internet whitelists in Russia and Iran. This one focuses on Iran and on what an approved-only mode means for VPNs.
How is a whitelist different from blocking and shutdowns
A censor has four main tools. They differ in what stays open and in how visible they are from outside.
| Mode | How it works | What stays open | What happens to VPNs |
|---|---|---|---|
| Filtering | A list of forbidden sites and services is closed | Most of the internet | A race: the censor hunts tunnels, well-disguised protocols survive |
| Throttling | Outbound bandwidth is cut, unfamiliar traffic is choked | Everything, but slowly | Work intermittently |
| Whitelist | Only a list of approved addresses is open | Domestic services and selected foreign addresses | A foreign server is unreachable unless its address is on the list |
| External shutdown | The link to the world is closed entirely | Only the domestic network | Nothing works except satellite |
The main difference from a full shutdown is visibility. In a blackout, NetBlocks and Cloudflare Radar graphs fall off a cliff and everyone is writing about it within an hour. Under a whitelist the phone shows full signal, the card goes through, the taxi arrives. Only the outside world vanishes. That is a property of the mode itself, not a description of any specific day in Iran.
For the economy a whitelist is gentler than a blackout. For VPNs it is almost as harsh.
What restrictions in Iran are actually documented
To avoid mixing the possible with what happened, the table lists only episodes confirmed by measurements or official decisions.
| When | What happened | Type of restriction | Address whitelist? |
|---|---|---|---|
| 2009 | After the presidential election Facebook and Twitter (now X) were blocked and connections throttled | Filtering, throttling | No |
| April 2018 | Telegram blocked by court order | Filtering | No |
| November 2019 | From 16 November, according to NetBlocks, connectivity to the world fell to about 5% of normal. Restoration took several days, mobile data in some provinces returned later. Domestic services largely kept working | External link shut, domestic network alive | No, the external link was closed entirely |
| February 2020 | Geneva project researchers described a protocol filter | Protocol whitelist | No, it checked the protocol, not the address |
| September 2022 | Protests after the death of Mahsa Amini: Instagram and WhatsApp blocked, nationwide evening mobile data cuts, regional shutdowns in Kurdistan and Zahedan | Filtering, regional shutdowns | No |
| December 2024 | WhatsApp and Google Play unblocked. Instagram, according to the latest available information, remains blocked | Partial easing | No |
| June 2025 | During the war with Israel, from 18 June, NetBlocks recorded a near-total loss of connectivity to the world, with restoration over several days. Users and Iranian media reported that some domestic services kept working | External link shut | No public data on a list of approved foreign addresses |
YouTube has also been unavailable in Iran for more than a decade, like most large Western social networks.
None of these episodes is a national address whitelist in the strict sense. The 2019 and 2025 shutdowns closed the external link entirely rather than opening selected destinations. Taken together, though, they show a direction: each step made cutting off the outside world cheaper, because more of daily life stayed inside.
Why VPN disguise does not help against a whitelist
The simplest way to explain it is a security guard at a building entrance.
Under filtering, the guard compares faces with wanted posters. Good makeup gets you in. That is how modern protocols such as VLESS Reality and XHTTP have survived for years: their traffic looks like a normal visit to a large website. Why the same protocol behaves differently in different countries is covered in KRAKOBIT’s piece on XHTTP in China and Iran.
Under a whitelist, the guard does not look at faces. He has a guest list. If your name is not on it, the door stays shut, and makeup changes nothing. On the network, the name is the address of the server the traffic is really going to. A VPN server sits in Germany or the Netherlands, its address is not on the list, and the connection never forms, however perfectly it is disguised.
That is the core shift. Under filtering, the censor has to recognise every tunnel, an expensive race it regularly loses. Under a whitelist it does not need to recognise anything. The mode has one weak spot: the approved list itself. If it includes large foreign clouds or content delivery networks, other traffic can pass through their addresses too. A real whitelist is therefore always a trade-off between strictness and how much breaks for business.
How Iran controls access to the world through a single gate
Iran has an advantage most countries lack. Almost all international traffic passes through the state-owned Telecommunication Infrastructure Company (TIC), which reports to the Ministry of Communications. The mobile operators Hamrah-e Aval (MCI), Irancell and RighTel, along with home broadband providers, buy their access to the outside world from it.
A single gate at the border means a rule for external traffic can be imposed centrally, without persuading dozens of private companies. That is technically how the 2019 and 2025 shutdowns were carried out. Russia looks different: hundreds of operators and many exchange points, so filtering relies on TSPU equipment installed at every operator.
What is Iran’s National Information Network
The second pillar is the National Information Network (NIN), under construction since the early 2010s. The goal is for everything needed in daily life to run in Iranian data centres without depending on the outside world:
- the Shaparak interbank card system and banking apps;
- the Snapp ride-hailing app, the Divar classifieds site and the Aparat video platform;
- the local messengers Rubika, Eitaa and Bale, promoted by the state as replacements for Telegram and WhatsApp;
- government portals, universities and news sites.
November 2019 was the first large test of this logic: the external internet vanished, while payments and government services largely kept running. Without a domestic network, any cut of the external link would be a blackout for the whole economy. With it, the authorities gain a choice, and a whitelist becomes technically possible: the approved list already exists in the form of services that live inside the country.
The 2020 protocol filter: why it was not yet a whitelist
In February 2020, University of Maryland researchers behind the Geneva project described a system in Iran they called a protocol whitelister. On ports 53, 80 and 443 it allowed only three kinds of traffic: DNS, plain web HTTP and secure web HTTPS. Anything unfamiliar on those ports had its connection cut. The work was presented at the FOCI academic workshop in 2020.
That was a whitelist of the languages programs speak, not of addresses. A protocol that looked like HTTPS passed through. That is exactly what modern protocols disguised as ordinary web traffic were built for. An address whitelist is fundamentally different: what matters is no longer which language the traffic speaks, but whom it talks to.
Do VPNs work in Iran right now: data from one network
If Iran were running an address whitelist that excluded foreign VPN servers, the share of successful connections to them would drop close to zero. Data from HopFox VPN for 30 October to 5 November 2026 shows a different picture. Countries without heavy censorship are included for comparison.
| Network country | Protocol | Attempts | Success | Change over the week |
|---|---|---|---|---|
| Iran | Reality | 21,027 | 71% | 74% → 68% |
| Iran | XHTTP | 27,141 | 62% | 64% → 61% |
| Iran | AmneziaWG | 2,666 | 32% | 34% → 31% |
| China | Reality | 27,699 | 91% | 93% → 91% |
| China | AmneziaWG | 2,376 | 34% | 34% → 34% |
| Germany | Reality | 2,259 | 76% | 75% → 76% |
| Germany | XHTTP | 2,948 | 66% | 67% → 64% |
| USA | Reality | 520 | 72% | 73% → 70% |
| Japan | Reality | 1,756 | 92% | 90% → 93% |
| Hong Kong | Reality | 2,037 | 91% | 95% → 90% |
According to HopFox VPN, foreign servers were reachable from Iran in most attempts on this network that week. So there was no address whitelist here. There was filtering.
The rest calls for caution. Iran’s 71% on Reality is close to Germany (76%) and the USA (72%). Iran’s weekly drop (74% → 68%) coincides with drops in Hong Kong (95% → 90%) and the USA (73% → 70%), so it cannot be attributed to censors. AmneziaWG in both Iran and China sits at about a third of attempts, and the failure reason no AmneziaWG handshake, UDP blocked on this network appears almost equally: 1,309 times in Iran and 1,307 in China. Why UDP protocols connect only now and then is covered in KRAKOBIT’s piece on AmneziaWG in Iran and China.
The most common failure in Iran is no answer through the tunnel: 10,596 cases. The connection forms, but data does not flow. This Iranian symptom is described in detail in the piece on why a VPN connects but goes silent in Iran. Another 2,588 failures read no answer from any location on this network. From the user’s side, this is roughly what a whitelist would look like: everything foreign unreachable. But a local outage, an overloaded mobile network or a single-province shutdown look the same, and aggregates cannot tell them apart.
The caveats matter. After a failure the app switches protocol on its own, in Iran XHTTP is tried first, and this is one network of one service, not the whole country. The full breakdown by protocol and country is in the analysis of 128,000 HopFox VPN connection attempts.
Why a whitelist changes the VPN market
Under filtering, technique decides the race: the protocol that best imitates ordinary traffic wins. In recent years such protocols have held on in Iran, with losses. Under a whitelist, the list of addresses decides and technique becomes secondary. A service with the best protocol and servers only in Europe would lose contact with its customers inside such a zone.
The second problem is delivery. Iranians usually get new apps and fresh configurations through app stores, Telegram and service websites. If those are not on the approved list, nobody can update, even when the service has a fix ready. This applies to every circumvention approach, from classic VPNs to projects such as Shroudly, which bypasses filtering without its own servers: for each of them the question comes down to where the traffic ultimately goes and whether that address is on the list.
Satellite stands apart. Elon Musk announced Starlink activation for Iran in September 2022, after the US Treasury issued a general licence for communications equipment. Starlink holds no licence in Iran itself, and the authorities treat terminals as illegal. A satellite link does not depend on Iran’s network, so a whitelist does not affect it, but it is not a mass channel.
A whitelist has one more property that makes it convenient for the authorities. It does not need to be announced, it barely shows on global graphs and it does not stop payments. A tool that is cheap to use tends to be used more often, once it exists.
Russia: same idea, different route
In Russia, unlike Iran, a whitelist exists officially. In September 2025 the Ministry of Digital Development announced a list of services that should stay available during regional mobile internet shutdowns: the Gosuslugi government portal, marketplaces, large domestic social networks and payment services. The logic matches Iran’s National Information Network: essential services live inside, and the outside world can be switched off without breaking daily life.
The architecture differs. Iran has one gate at the border and a state monopoly, Russia has a distributed network of operators with TSPU at each. The Iranian setup is simpler for closing the external link completely, the Russian one is more flexible for targeted rules by region and operator.
What is still unknown
- Whether Iran has ever applied an address whitelist anywhere, rather than a full external shutdown. Measurements from OONI, IODA and Cloudflare Radar by province and operator could answer this.
- Which foreign addresses would make the approved list. That determines whether a gap would remain through large clouds and content delivery networks.
- How long the economy could take it. Developers, exporters and universities depend on the outside world, and every week of isolation costs money.
As long as these questions stay open, Iranian censorship remains filtering with periodic shutdowns. The parts for a whitelist are all close at hand, and judging by 2019 and 2025, the authorities can assemble them within hours.