Seven things to sort out at home
Everything still loads before you leave, so this is the time. Tick them off; this page remembers on this device.
What works on which connection
Whether a service loads depends on the network carrying your data. Whether you may use it depends on the company: Anthropic and OpenAI don’t support use while you’re in mainland China or Hong Kong, whichever connection you use.
- Works
- Blocked
- Not supported
- Work accounts only
- Unreliable
- Depends on the network
Roaming and travel eSIM data is carried by another operator, often outside mainland China, so what loads depends on that operator. The law of mainland China applies to what you do while you’re there, whichever connection you use.
How your data travels on each connection
When you roam, a local network carries the radio signal, and your data commonly goes back through your home operator before it reaches the internet. This is how roaming works in every country. Travel eSIMs often send your data through another operator’s gateway, sometimes in a third country. Websites then see that country, not where you are: through a Hong Kong gateway you get Hong Kong’s answers, so Claude and ChatGPT turn the connection away. On a mainland SIM or mainland Wi-Fi, your data goes out through a mainland network.
The network your data leaves through decides which services load. Anthropic’s and OpenAI’s rules depend on where you are, whichever route your data takes.
1Mainland Wi-Fi or a mainland SIM
- Your phone or Mac
- Mainland operatorWi-Fi or mobile network
- Internet
2Roaming on your home SIM
- Your phone
- Local partner networkCarries the radio signal
- Your home operatorCommonly routes the data
- Internet
3A travel eSIM
- Your phone
- Local partner networkCarries the radio signal
- Another operator’s gatewayOften a third country
- Internet
Three ways to get mobile data
Whichever you pick, your Mac gets online through the phone’s hotspot or a cable, so it uses the same connection as the phone.
Roaming on your home SIM
Your number, your operator
- A local network carries the signal, and your data commonly goes back through your home operator, as with roaming anywhere.
- Texts with sign-in codes still reach your usual number.
- Check the daily price, the data included, the speed after a cap and whether hotspot use is allowed.
A travel eSIM
Data only, set up before you fly
- Gives your phone data but no mainland number, which some apps ask for to send a code.
- Its data often goes through another operator’s gateway, sometimes in a third country, and websites see that country, not where you are. Through Hong Kong, Claude and ChatGPT turn the connection away. Ask the seller which country.
- Install it at home, where you can still reach the seller’s site and support.
A mainland SIM
A local number, bought with your passport
- Operators sell SIMs to visitors in person, at service halls and airport counters, with a valid passport.
- Every line is registered to a real identity under China’s Cybersecurity Law.
- Your data goes through a mainland network, so the blocks in the table above apply.
Wi-Fi that wants a phone number
Internet access in China is tied to real identity: providers must ask for it before they connect anyone, and authorities have told public Wi-Fi providers to register users. So Wi-Fi in hotels, airports and conference venues usually opens on a sign-in page instead of asking only for a password.
Expect the page to ask for a mobile number and text it a code, or for another ID. At Beijing Daxing airport, the options are a mobile number, a photo of your passport, a kiosk or WeChat. Some apps also want a code sent to a mainland number. US travel advice is to avoid public Wi-Fi in China altogether.
Ask how visitors sign in
Front desks and event organisers know whether their Wi-Fi takes a foreign number, a passport or a code on your badge. Ask before the first session, not during it.
When the sign-in page won’t appear
Sign-in pages are ordinary web pages, and they sometimes fail to open on their own. Why the Wi-Fi sign-in page doesn’t show walks through it, and Kilobat notices a waiting sign-in page and offers a button to open it.
Crowded venue Wi-Fi
Everyone in the hall shares the same network, so it slows when a session ends. A cable to your own phone isn’t affected by the crowded Wi-Fi and keeps the phone charged. Kilobat’s hotspot data saver lets only the apps you allow use the phone’s data, so updates wait. See save hotspot data.
Apple’s sign-in check
macOS checks for a sign-in page by loading an Apple address. If that check can’t be reached, turn on Settings › Checks › Wi-Fi sign-in check for China in Kilobat to use Xiaomi’s check instead.
Plan your AI tools before you fly
Anthropic’s Supported Regions Policy covers Claude.ai, Claude Code, Cowork and the API. It doesn’t support use from places that aren’t on its list, including by people while they’re there, and mainland China and Hong Kong aren’t on it. OpenAI has one list for ChatGPT and its API, and neither place is on it. OpenAI warns that access from elsewhere may get an account blocked or suspended. Google lists Hong Kong for the Gemini web app and mainland China for Workspace accounts only, while the Gemini API lists neither.
China has its own rules for generative AI. Services offered to the public in mainland China fall under the Interim Measures in force since 15 August 2023, and the regulator can order technical measures against foreign services that don’t comply with them. In 2023, regulators told Chinese technology firms to stop offering access to ChatGPT.
Models that run on your Mac
Open-weight models run on the Mac itself once the model and the app that runs it are downloaded. LM Studio works entirely offline once you have model files, and Ollama runs models locally, with a local-only mode that turns its cloud features off. Download both at home, along with anything your coding agent needs to use them.
What your organisation provides
Ask your employer or client which AI services are approved for work in China, and follow their IT and data policy for the laptop you bring.
Package managers, Git and downloads
Chinese universities and companies run mirrors of the big package registries, and each tool has a documented setting for using one. These commands follow each mirror’s own instructions; switch back when you leave.
# pip: the University of Science and Technology of China’s mirror
$ pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/simple
# npm: the npmmirror registry
$ npm config set registry https://registry.npmmirror.com
# Go: goproxy.cn, supported by Qiniu Cloud
$ go env -w GOPROXY=https://goproxy.cn,direct
# Back home: return to the defaults
$ pip config unset global.index-url
$ npm config delete registry
$ go env -u GOPROXY- Developer sites. Hugging Face has been blocked in mainland China since 2023. GitHub was briefly blocked in 2013 before access was restored, and is reachable but not always reliably. Clone what you need, install dependencies, pull container images and save any models while you’re on a fast connection at home.
- Choose mirrors carefully. Your tools trust a mirror as much as the official registry. Homebrew’s download mirrors are set with
HOMEBREW_API_DOMAINandHOMEBREW_BOTTLE_DOMAIN. A lock file created while you use a mirror keeps installing from that mirror after you switch back. - Large downloads. When Homebrew or npm stalls, Homebrew or npm downloads fail on a Mac separates a slow mirror from a broken connection.
- See what your tools connect to. Kilobat’s agent network log lists every host your agent, and any command it starts, connects to, so a stuck install shows which host it was waiting for.
On the device’s Wi-Fi, and still online
Many devices open their own Wi-Fi network for setup or control, and that network has no internet. The moment your Mac joins it, mail, calls and your coding agent go quiet. We wrote this part after setting up a robot dog on a trip: the robot’s Wi-Fi handled the robot, and an iPhone on a cable carried everything else.
- 1
Connect your phone with a cable
Plug in the iPhone, turn on Personal Hotspot and choose Trust on the phone. The Mac lists it as iPhone USB.
- 2
Join the device’s Wi-Fi
Pick the robot’s, drone’s or board’s network in the Wi-Fi menu. macOS may say it has no internet, which is expected.
- 3
Put iPhone USB first
In System Settings › Network, open the menu at the bottom and choose Set Service Order, then drag iPhone USB above Wi-Fi.
- 4
Open the device
Use the address in its manual, often something like 192.168.4.1, in a browser or its app. Everything else keeps using the phone.
The same works with a USB Ethernet adapter or another phone’s hotspot. Mac uses the wrong network connection explains the service order in full.
Hong Kong and Macao
Different network rules, same AI lists
Hong Kong and Macao each have their own laws and regulators, and the mainland’s internet censorship doesn’t apply in Hong Kong. Claude and ChatGPT aren’t offered in either: neither is on Anthropic’s or OpenAI’s list of supported regions.
More in the full guides: working from China with a Mac and working from Hong Kong with a Mac.
What’s legal and what isn’t
The main rules in mainland China and Hong Kong, one line each.
Allowed
- Buying a mainland SIM with your own passport, at an operator’s service hall or airport counter
- Signing in to public Wi-Fi with a phone number or, where offered, a passport photo
- Flying a registered drone of 250 g or more below 120 m and away from airports, borders, military sites and other protected areas, where local rules allow
- In Hong Kong, a SIM registered in your own name with your travel document
- In Hong Kong, a drone of 250 g or less flown within the basic limits, without registration
Not allowed
- Unlicensed VPNs, banned since 2017
- Buying, renting or borrowing someone else’s phone card, or internet access without your real identity
- Using a satellite phone without a permit; unpermitted ones can be confiscated
- Posting or supporting political statements critical of China, which can be treated as illegal
- In Hong Kong, refusing a police request for a password or decryption in a national security investigation, an offence since 23 March 2026, including for travellers passing through the airport
Drones The import, possession and use of drones and their parts are strictly regulated, so contact the Civil Aviation Administration of China before you travel. Registration is in your real name, micro and light drones need no pilot licence, and an unregistered flight can be fined. Some cities ban drone flights outright. In Hong Kong, visitors register on the CAD’s eSUA platform and collect the registration label in person.
Radios and other transmitters Apart from low-power short-range devices, radio transmitters need Chinese type approval, and anyone carrying one into China must declare it at customs. Check before you pack walkie-talkies or other radio gear.
Work laptops and phones Follow your employer’s IT and data policy. Many travellers take devices with no personal or sensitive information for use only in China, and devices may be screened when you cross between Hong Kong and the mainland.
Rules change. Check the current travel advice from your own government before you go.
Blocked, not offered, or just slow?
Three different problems look alike from the browser. What you see tells them apart.
Not offered where you are
What you see
The service answers with its own message: claude.ai’s page for unsupported regions, “OpenAI’s services are not available in your country”, or an API error 403, “Country, region, or territory not supported”.
What it means
The provider doesn’t serve where you are, and the message comes from the service itself, not your network.
Blocked on this network
What you see
No answer at all. The page spins until it times out, the secure connection is cut, or the name doesn’t resolve. The service never says anything.
What it means
The network you’re on doesn’t carry it. Nothing on your Mac is broken, and the service isn’t down.
Slow, or down for everyone
What you see
Everything crawls, or one service fails while its status page reports an incident. Venue Wi-Fi shared by a crowd slows at peak times.
What it means
Try your phone’s connection, or wait for the service. A status page incident means it isn’t you.
Kilobat’s Why can’t it connect? tells them apart
It checks your connection and the service’s status page, and when a service refuses, it reads the service’s own answer. A network block is reported as blocked on this network, a provider’s regional answer as not available in your region, and an outage as down for everyone.
- Claude isn’t available in your regionAnthropic says its service isn’t available in your region.
- Google Drive looks blocked on this networkIts name doesn’t resolve here, while a secure resolver returns its real address.
- GitHub is down for everyone, not youIts status page reports an incident.
Asked before every trip
Can I use Claude in China?
Anthropic doesn’t offer Claude in mainland China. Its Supported Regions Policy covers Claude.ai, Claude Code and the API, and says it doesn’t support use by anyone who is in a region that isn’t on its list.
Does Claude work in Hong Kong?
No. Hong Kong isn’t on Anthropic’s list of supported regions, so the same policy applies there as in mainland China.
Can I use ChatGPT in China or Hong Kong?
Neither is on OpenAI’s list of supported countries and territories. OpenAI says access from outside the list may get an account blocked or suspended, and that travellers may have trouble signing in.
Do Claude and ChatGPT work in Macao?
No. Macao isn’t on Anthropic’s list of supported regions or on OpenAI’s list of supported countries and territories. Google’s Gemini web app does list it, but the Gemini API doesn’t.
Is Gemini available in Hong Kong?
The Gemini web app lists Hong Kong, and lists mainland China for Workspace accounts only. The Gemini API and Google AI Studio list neither.
Will roaming on my home SIM work in China?
Roaming works there as it does in other countries, and your data commonly goes through your home operator. Which services load depends on the network carrying your data, so ask your operator. Anthropic and OpenAI still don’t support use while you’re in mainland China.
Can I use hotel or conference Wi-Fi without a mainland number?
Often, but not always. Internet access in China is tied to real identity, so sign-in pages ask for a phone number or another ID. At Beijing Daxing airport, a photo of your passport works instead. Ask the front desk or the organisers how visitors sign in.
Are VPNs legal in China?
VPNs in China must be licensed by the government, and unlicensed VPNs have been banned since 2017. Using a VPN there is illegal in most cases and can lead to your device being confiscated, a fine or detention. If your employer requires a VPN, ask its IT team how it’s provided in China.
Can I bring a drone to China or Hong Kong?
Check the rules before you pack it. In mainland China, drones of 250 g or more must be registered under your real name with the CAAC, flights above 120 m or near airports and other sensitive sites need approval, and some cities ban drone flights outright. In Hong Kong, drones over 250 g must be registered, and visitors register with their travel document.
How do I keep the internet while my Mac is on a robot’s or drone’s Wi-Fi?
Connect your iPhone with a cable and turn on Personal Hotspot, join the device’s Wi-Fi, then put iPhone USB above Wi-Fi in System Settings › Network › Set Service Order. The Mac then talks to the device over Wi-Fi and to the internet over the cable.
Sources
- ProviderAnthropic: Supported Regions Policy
- ProviderOpenAI Help Center: ChatGPT and OpenAI API supported countries and territories
- ProviderOpenAI Help Center: ChatGPT and API services in unsupported countries and territories
- ProviderGemini Apps Help: where you can use the Gemini web app
- ProviderGoogle AI Studio: available regions for Google AI Studio and the Gemini API
- Travel adviceUK FCDO: China travel advice, safety and security
- Travel adviceUS State Department: China travel advisory
- Travel adviceSmartraveller (Australia): Hong Kong travel advice
- Travel adviceUS Consulate General Hong Kong and Macau: security alert on national security rule changes (26 March 2026)
- Travel adviceUK FCDO: Hong Kong travel advice, safety and security
- Travel adviceUK FCDO: Macao travel advice, safety and security
- GovernmentBeijing Municipal Government: a guide for purchasing SIM cards in Beijing
- GovernmentHong Kong Government: Implementation Rules for Article 43 of the National Security Law amended (23 March 2026)
- GovernmentUS State Department: 2023 Country Reports on Human Rights Practices, Macau
- GovernmentMacao SAR Government: prepaid card users should complete real-name registration (March 2020)
- RegulatorCAAC: Regulations on Real-name Registration of Civil Unmanned Aerial Vehicles
- RegulatorHong Kong Civil Aviation Department: small unmanned aircraft, tips for visitors
- RegulatorMacao Civil Aviation Authority: unmanned aircraft activities
- RegulatorMacao Civil Aviation Authority: no-fly zones and temporary restrictions
- RegulatorOFCA: real-name registration programme for SIM cards
- Legal textStanford DigiChina: translation of the Cybersecurity Law of the People’s Republic of China
- Legal textNational People’s Congress: Anti-Telecom and Online Fraud Law of the People’s Republic of China (Chinese)
- Legal textCyberspace Administration of China: Interim Measures for the Management of Generative AI Services (Chinese)
- Legal textState Council: Interim Regulations on the Flight Management of Unmanned Aircraft (Chinese)
- Legal textState Council: Radio Regulations of the People’s Republic of China (Chinese)
- Rights groupFreedom House: Freedom on the Net 2024, China
- Rights groupFreedom House: Freedom in the World 2026, Hong Kong
- ResearchOONI Explorer: network measurements in Macao
- NewsSemafor: Hugging Face confirms ‘regrettable accessibility issues’ in China (October 2023)
Checked on 21 November 2026.
Know whether it’s the network, the provider or you
Kilobat is a Mac menu-bar app that checks your connection, the Wi-Fi sign-in page and each service’s status page, guards your phone’s data and keeps your Mac online on a device’s Wi-Fi.
brew install seifip/kilobat/kilobat