flclash.st
English
简体中文繁體中文EnglishРусскийفارسی

HomeDigestNetwork

Online, yet showing no internet

The internet works with FlClash on, but the Windows taskbar shows no internet and Android's Wi-Fi icon has an exclamation mark. The system's connectivity check is being thrown by the proxy or fake-ip. How the check works, the improved default fake-ip filter in 0.9.5, and fixing it by hand.

A mobile mast: systems decide whether they are online by visiting a few fixed addresses
A mobile mast: systems decide whether they are online by visiting a few fixed addresses Richard Allaway, CC BY 2.0

Pages open fine, yet the network icon in the corner of the Windows taskbar shows a little globe and says "No internet access"; Android's Wi-Fi icon gains an exclamation mark. FlClash has not cut you off; the system's "connectivity check" has reached the wrong conclusion.

This problem is common because it does not affect whether you can browse, so many people just live with it. But the system's connection state drives plenty of background behaviour, such as automatic updates, cloud sync and mail push. While the icon says offline, these may quietly stop, and days later you find files unsynced and mail not arrived. Some work computers also decide from the connection state whether to reach intranet resources, which may then fail too.

How systems decide whether they are online

SystemHow it checks
WindowsResolves and visits Microsoft's check addresses, such as www.msftconnecttest.com
AndroidVisits connectivitycheck.gstatic.com and similar, expecting an empty page
macOSVisits captive.apple.com

With the expected result the system says "connected"; otherwise it shows no internet, or thinks a web login is needed.

An Ethernet port: the cable is in and the network works, yet the system says offline
An Ethernet port: the cable is in and the network works, yet the system says offline Pittigrilli, CC BY-SA 4.0

What fake-ip does to it

With the TUN adapter on, FlClash often uses fake-ip mode: when the system asks for a domain, it first gets a made-up private address, and the real work happens when the connection is made. That is efficient for ordinary pages, but Windows' check looks at whether the answer is the expected real address, and a fake one fails it.

That is why configurations have a fake-ip filter list, whose domains get real addresses. The 0.9.5 changelog says the default filter now includes the check addresses Windows actually uses, and for many people the little globe vanished after updating.

A laptop in a café: the speed is fine, only the icon is "lying"
A laptop in a café: the speed is fine, only the icon is "lying" Shixart1985, CC BY 2.0

Fixing it by hand

If you use your own DNS configuration, the filter list is not updated for you; add the entries yourself:

fake-ip filter (excerpt)
dns:
  enhanced-mode: fake-ip
  fake-ip-filter:
    - "+.msftconnecttest.com"
    - "+.msftncsi.com"
    - connectivitycheck.gstatic.com
    - captive.apple.com

Does it actually matter

The icon itself does not stop you browsing. But some programs decide whether to work from the system's connection state, such as Office sign-in, Microsoft Store and some game platforms, and they stay offline when they see "No internet". So it is worth fixing.

Windows' check in two steps

Windows' Network Connectivity Status Indicator (NCSI) checks in two steps:

  1. It resolves a fixed domain and checks whether the address returned is right;
  2. It visits a fixed URL and checks whether the text returned is right.

In fake-ip mode the first step gets a fake address, and the check fails right there. That is why adding the check domains to the fake-ip filter list usually solves it.

Android's check

Android regularly visits an address that returns empty content (status 204). With FlClash's VPN on, this request enters FlClash too and goes direct or through the proxy by the rules:

SituationResult
Check goes through the proxy; the node is fineNormal
Check goes through the proxy; the node blocks itExclamation mark
A rule blocks the check addressExclamation mark

Some Chinese phone makers use their own check addresses, and rules that block those domains also produce the exclamation mark.

Is the icon "lying"

The simplest test: visit a few common sites in a browser and see whether chat apps send and receive. If everything works, the check is the problem, not a real outage. Then fix the filter list as above, or update to 0.9.5.

When using the provider's configuration

Many people use the full configuration their provider sends, DNS section included. Every subscription update overwrites it, and any filter entries you added vanish. There are two ways out: update FlClash and rely on the new default filter list, or turn the subscription into a proxy-provider and write your own local configuration with DNS settings, the subscription only supplying nodes; see Merging subscriptions. The second solves it for good, leaving rules and DNS in your hands.

Does this happen with only the system proxy, no TUN?

Rarely. With only the system proxy, the check usually does not pass through FlClash.

The exclamation mark stays on Android?

Make sure the check address is reachable. Some provider nodes block it; try another node.

Can I just turn off Windows' connectivity check?

A registry change can, but it also breaks the login prompt on public Wi-Fi. Not recommended.

Do I need to restart after changing the filter list?

Select the profile again after saving; the system usually re-checks within a minute.

Read on

Read alongside

This page covers: FlClash no internet icon, Windows no internet with proxy, fake-ip no internet