FlClash v0.9.5 is out for Windows / macOS / Linux / Android Download now

That IPv6 switch: on or off?

On, some sites get slower. Off, some nodes won't connect. Three checks decide it.

Updated

Key points

IPv6 is awkward in proxy software because it covers three stretches: from you to the node, from the node to the site, and whether DNS asks for IPv6 addresses. Each has a switch, all called IPv6.

In one sentence: if unsure, off. Off costs little; on and half configured may leak or be oddly slow. If you need it, read on.

Do you have it?

Open any IPv6 test site without the proxy. If it shows no IPv6 address, leave it off. You're done.

Three switches

WhereWhat it controls
IPv6 under Settings › NetworkWhether FlClash itself may connect by IPv6
Top-level ipv6 in the profileWhether the core accepts IPv6 traffic
ipv6 under dnsWhether lookups ask for IPv6

In 2880 an Android user turned on the switch, but the profile still said ipv6: false and IPv6 nodes failed, while macOS worked. One reply fixed it by toggling Wi-Fi, another saw no change. Reconnect first, then update.

After changing network settings, stop and start from the Dashboard so the core reads them.
After changing network settings, stop and start from the Dashboard so the core reads them. Picture: FlClash, GPL-3.0

Turn it on when

The node's own address is IPv6. Some providers and self-hosted machines offer nothing else.

ipv6: true

dns:
  enable: true
  ipv6: true

Turn it off when

The node only exits on IPv4 but your line has IPv6. Some apps then go straight out by IPv6, as if there were no proxy, and test sites see your real address.

To be thorough, block IPv6 at the top of the rules so apps fall back to IPv4:

rules:
  - IP-CIDR6,::/0,REJECT,no-resolve

If some sites then take a moment longer, they tried IPv6 first. That's normal.

How to check

  1. Start FlClash with TUN on.
  2. Open an IPv6 test site.
  3. The node's IPv6 is fine, your own line's means a leak, and none is fine too.
With only the system proxy IPv6 leaks more easily, since uncooperative programs never enter.
With only the system proxy IPv6 leaks more easily, since uncooperative programs never enter.

Five minutes

  1. Stop FlClash, open an IPv6 test, note the beginning.
  2. Start it, rule mode, again.
  3. TUN on, again.
FirstThenMeaning
NoneNoneNo IPv6 here
YesNoneHeld back, safe
YesThe sameLeaks
YesThe node'sProxied

Leaking means such sites see your own address.

Why system proxy leaks

Only programs that listen use it. Browsers do; some games, downloaders and terminals do not, and all their traffic is outside. TUN brings them in.

Why it gets slow

Browsers try IPv6 first; without it on the node they wait each time. Not another node: ipv6: false under DNS.

Nodes with only IPv6

Your line needs it, FlClash's network setting and ipv6: true at the top and under DNS. Keep the subscription's way of writing addresses. From IPv4-only networks it does not work; keep a second one.

Router

Turn off LAN assignment, RA and DHCPv6, at the price of IPv6 access to your home.

Mobile

It cannot be turned off. FlClash takes over IPv6 routes by default; then the switches above apply. The APN can be set to IPv4; note the old value first.

You might also ask

Is it worse on mobile data?

Carriers usually provide IPv6 and some apps prefer it. The Android app uses the VPN interface and normally catches it. One test settles it.

Does IPv6 lower game delay?

Perhaps for direct games. Through a proxy it depends on the node and usually makes no difference.

Are local apps affected?

No, they have IPv4.

Does the node support it?

The test then shows its country's IPv6.

BitTorrent?

More peers with it, but BT should be direct anyway.

Don't have FlClash yet?

Free and open source for Windows, macOS, Linux and Android · latest v0.9.5

Go to downloads

A few more

Back up FlClash with WebDAV in ten minutes

The day you change phones is too late. The steps use Jianguoyun as an example, plus why restores fail.

A browser proxy extension and FlClash: one or both?

SwitchyOmega no longer works in current Chrome. What replaces it, and how to split the job with FlClash.

Your subscription link got out. The next hour

Screenshots, recordings and pasted profiles can all carry it. The fixes have an order.

Related searches

Covered here: FlClash IPv6, Clash IPv6 on or off, IPv6 leak