natbox.io

Using natbox from China / Reach your server

Reach your server from mainland China

Tested from Chinese networks on 21 November 2026 · 中文版

Since 17 and 19 November 2026, connections from mainland China to the shared IPv4 addresses of all three of our servers are blocked inside China. Ping still works, but SSH, websites and apps don't. Two ways around it work, and we tested both from Chinese networks:

Way inWorks forOur test from China
Your server's own IPv6Everything: SSH, websites, apps, every port8 of 8 networks, page loaded in 0.4–2.4 s
Cloudflare in front of a websiteWebsites and web apps8 of 8 networks, 1.0–2.7 s

Moving to another of our servers doesn't help: all three IPv4 addresses are affected.

1. Use your server's IPv6

IPv6 is not shared and not blocked. Your server already has its own range, shown as IPv6 on your server's page in the client area, for example 2a02:c207:2373:7988:117::/80. Its first address, ending in ::1, is already set up on your server.

  1. Check that your own connection has IPv6: open our IPv6 test on the computer or phone you'll use. Most mobile networks in China have IPv6, and many home connections do too.
  2. Connect with SSH over IPv6, on the normal port 22 (your forwarded IPv4 port is only for IPv4):
    ssh root@2a02:c207:2373:7988:117::1
    In apps that take an address and a port separately, use the address alone. In a URL, put it in brackets: http://[2a02:c207:2373:7988:117::1]/.
  3. Let your apps listen on IPv6 too. Most do when set to listen on :: or "all addresses". On IPv6 every port reaches your server, so you are not limited to your forwarded ports.
  4. For a website, add an AAAA record for your domain pointing to your ::1 address, next to the A record.
Close what you don't need. Every port on your IPv6 address is reachable from the whole internet. Set up a firewall before you run databases or admin panels: IPv6 firewall guide.

More about your addresses, and how to add more: Your IPv6 addresses.

2. Put Cloudflare in front of your website

China blocks our address, not Cloudflare's. Visitors in China connect to Cloudflare, and Cloudflare connects to your server from outside China. This is how natbox.io itself stays reachable. Cloudflare's free plan is enough. You need your own domain on Cloudflare.

Option A: Cloudflare Tunnel (easiest, no ports needed)

A small program on your server opens an outgoing connection to Cloudflare, so nothing has to be forwarded and it doesn't matter that our IPv4 is blocked.

  1. In the Cloudflare dashboard, open Zero Trust → Networks → Tunnels and create a tunnel (type Cloudflared).
  2. Choose Debian, and run the install command it shows on your server. It ends with cloudflared service install <token> and starts automatically at boot.
  3. Add a public hostname, for example www.example.com, with the service http://localhost:80 (or the port your site listens on).

Cloudflare creates the DNS record and the HTTPS certificate for you. To try it before setting up a domain, run cloudflared tunnel --url http://localhost:80: it prints a temporary trycloudflare.com address. We used exactly this for our test.

Option B: Cloudflare DNS with our domain routing

If your site already runs on ports 80 and 443 through our domain routing, turn on the orange cloud (Proxied) for its DNS records in Cloudflare and set SSL/TLS to Full (strict). Keep the _natbox TXT record as it is.

No IPv6 and no website?

Would you use a faster China connection? We're considering a relay in Hong Kong or Japan with China-optimised routes, as an add-on for about $2 a month, for customers without IPv6. If you'd use it, open a ticket with the subject China connection. Each one helps us decide.

How we tested

On 21 November 2026 we set up a temporary server with the Box plan on server three, served a small test page on its IPv6 address and through a Cloudflare Tunnel, and loaded it with plain web requests from probes on Chinese networks (China Telecom, China Unicom, China Mobile and others, in cities from Beijing and Shanghai to Chengdu and Guangzhou) using Globalping. All 8 probes loaded the page each way. Speeds from China vary by network and time of day.