Skip to content

How network blocking works and how to get around it

Governments, ISPs, schools, and employers can all block websites and services. Blocking something first requires seeing it, so censorship and surveillance rely on the same capability, and tools that hide more of your traffic also make selective blocking harder. You can almost always get around blocking, but each method has a cost: some only defeat one kind of blocking, many let the network operator see that you are circumventing, and in some countries circumvention itself carries legal risk1.

This page adapts EFF Surveillance Self-Defense's How to: Understand and Circumvent Network Censorship and adds context from Taiwan and mainland China (see Sources and review).

Short on time? Start here

  • First check whether a site is blocked or simply down. OONI Probe can test this, but running it is risky in some countries
  • If only DNS is blocked, encrypted DNS usually gets you through
  • VPNs and Tor defeat more kinds of blocking, but the network can usually tell you are using them
  • In mainland China, the regulations prohibit individuals from using unapproved channels to reach the international internet, and individuals have been fined

Where blocking happens

Blocking can happen on your device (school or work devices, or spyware), on the local network (school, office, or café Wi-Fi), or at the ISP, which many governments require to filter and some ISPs sell as a service1. Taiwan has ISP-level blocking too: under Article 42 of the Fraud Crime Hazard Prevention Act, authorities can order ISPs to stop resolving fraud sites, which TWNIC coordinates through DNS RPZ under a Ministry of Digital Affairs procedure2. In December 2025 the Criminal Investigation Bureau applied it to Xiaohongshu3.

How blocking works

  • DNS blocking: the ISP's resolver returns a wrong answer or none. Switching resolvers does not help if DNS is unencrypted1
  • IP blocking: traffic to listed addresses is dropped, which often over-blocks because many sites share an IP1
  • Domain-name filtering of HTTPS: HTTPS hides the page but sends the domain name in the clear (SNI). Encrypted Client Hello (ECH), on by default in Chrome and Firefox and on Cloudflare's free plan, hides it, but China and Iran block it indirectly by blocking encrypted DNS45
  • Keyword filtering: only works on unencrypted traffic, or on managed devices where an administrator has installed their own CA certificate1
  • Protocol and port blocking: firewalls recognize VPN, VoIP, or peer-to-peer traffic and block the whole category1
  • Shutdowns and throttling: cutting connectivity entirely, blocking all foreign IPs, or slowing services until they are unusable. See preparing for a network shutdown

Checking whether you are blocked

OONI Probe's Web Connectivity test compares results from your network with a control server6. A single anomaly is not proof of censorship. Look at results over time on OONI Explorer, separated by network (ASN)7. Before running it, read OONI's risk page: anyone monitoring your connection can see you running it, active measurement may be illegal in some countries, and results are published by default with your approximate location and network8.

Ways around blocking

  • Encrypted DNS defeats DNS-only blocking but not domain-name or IP blocking, and well-known resolvers are themselves blocked in some countries19. See how to choose encrypted DNS
  • A VPN gets around IP and most domain-name blocking, but the network can usually tell you use one, and the provider sees where you go1. See VPN: risks and how to choose
  • Tor Browser handles protocol, IP, and DNS blocking. If Tor itself is blocked, Connection Assist picks a bridge, or choose obfs4, Snowflake, WebTunnel, or meek10. For China, Tor Project suggests WebTunnel first, then Snowflake and meek, and you can get Tor Browser from @gettor_bot on Telegram if the website is blocked11
  • Messaging-app proxies such as Signal Proxy keep messages end-to-end encrypted, but the operator sees your IP. Proxies shared privately last longer than public ones12. See Signal Proxy

Risks of circumvention

Whoever runs your network may notice the tool you use and act against you or others1. In mainland China, Article 6 of the Interim Provisions on the Administration of International Networking of Computer Information Networks prohibits individuals from using other channels for international connections, and Article 14 allows a warning, a fine of up to 15,000 yuan, and confiscation of illegal income13. Individuals have been fined: a man in Guangdong was fined 1,000 yuan in 201814, and a programmer in Hebei was fined 200 yuan in 2023 and had about 1.05 million yuan of income confiscated15. Country-by-country availability and device checks at borders are covered in device minimization and border crossings in Asia.

Sources and review

Adapted from How to: Understand and Circumvent Network Censorship in EFF's Surveillance Self-Defense, last reviewed on 2024-02-01 and licensed under CC BY 4.0. We added Taiwan's blocking procedure, mainland China's regulations and cases, OONI's guidance on interpreting results and on risks, the current state of ECH, Tor Project's current bridge advice, and Signal Proxy details, each sourced in the footnotes. anoni.net is responsible for any differences from the original, and this page does not represent EFF's views.

Where to go from here