返回资讯中心
外部精选
软件工程
#开发者实时流

China blocked our IPv4 address overnight

23 November 2026 · Update · By Mohammad AlSaraf

Hacker News 最新msarrph2026/11/23 · 今天9 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

23 November 2026 · Update · By Mohammad AlSaraf

On 17 November 2026, at about 03:16 UTC (11:16 in Beijing), connections from mainland China to the IPv4 addresses of two of our three servers simply stopped arriving. Everything kept working from the rest of the world. This is how we found out, what we measured, and what we changed in the next few hours.

The first sign was a support ticket. A customer in China wrote that their new server had stopped answering from one minute to the next, on home broadband and on mobile data, while it still worked from abroad. They had already captured packets on their server: their connection attempts arrived, the server answered, and the answers never reached them. That is a very precise bug report, and it was right.

Our own monitoring had not noticed. We had been pinging our servers from probes inside China every hour since 15 November, and the pings kept coming back. The block hit TCP, the connections that SSH, websites and almost everything else use, but not ping. A monitor that only pings would have said "all fine" all day.

We tested from probes on Chinese home and data-centre networks, with plain web requests (TCP) instead of ping:

So it was not our network, not a route problem and not a broken server: it was two specific IPv4 addresses, filtered inside China. We don't know exactly why. The usual reason an address gets blocked is VPN or proxy traffic from China to it, and on a NAT VPS many customers share one IPv4 address, so a block hits all of them at once. That is the downside of the model that makes a $1 server possible.

Our own website and client area live on server one, so customers in China couldn't even open a ticket. We put both behind Cloudflare: visitors in China now connect to Cloudflare, and Cloudflare reaches our server from outside China, where nothing is blocked. Before switching, we prepared our side so that every rule that relies on a visitor's real address (sign-up limits, the bot block, rate limits) still sees the real visitor and not Cloudflare.

The switch had one rough edge: for about two minutes, Cloudflare had not yet issued its certificate for our domain, and HTTPS failed for the few visitors who already had the new address. After that, in our tests from Chinese networks, 15 of 16 requests to the site and client area succeeded, in 1 to 8 seconds. Not fast, but reachable.

From about 19 November, mainland China also blocked TCP to server two's IPv4 address, with the same pattern: ping gets through, connections don't. A customer reported it with a clear test from 19 places outside China, all fine, and mainland China failing. Our own tests from five Chinese networks confirmed it: all three of our IPv4 addresses are now blocked from inside China.

Both are explained step by step, with our test results, in Reach your server from mainland China.

The lesson from the first part still stands, now with more weight: a shared IPv4 address carries everyone's risk, and once one is blocked, another shared one may follow. IPv6 is what keeps working.

If you use natbox from China, start with Using a natbox VPS from China, check your connection with the IPv6 test, and open a ticket if anything doesn't work: you can write it in Chinese.

Get new tutorials in Telegram. Follow @natboxio: every new post, plus short server tips.

More from the blog: Black Friday 2026: yearly NAT VPS 50% off, for life, How much RAM does a Discord or Telegram bot need?, How to test a VPS's network before you buy. RSS feed.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →