Updated

What you see

An IP checker shows your server's IPv4 address, but an IPv6 test page shows a different address — your home or mobile provider's.

What it means

Websites can be reached over IPv4 or IPv6, and your device prefers IPv6 when it has it. A VPN that carries only IPv4 leaves IPv6 traffic to travel outside the tunnel, so sites that support IPv6 see your real address.
Quick fix
Add ::/0 to AllowedIPs so IPv6 can't bypass the tunnel, or turn IPv6 off on the device while you use the VPN.

Causes and how to fix them

1. AllowedIPs is IPv4-only

A config with AllowedIPs = 0.0.0.0/0 routes IPv4 only. Adding ::/0 captures IPv6 too:
AllowedIPs = 0.0.0.0/0, ::/0
The tunnel then needs an IPv6 address in the Address line, and the server must forward IPv6 for it to work; without that, IPv6 traffic is captured but goes nowhere, and sites fall back to IPv4.

2. The device has IPv6 and the VPN doesn't

The simplest fix is to switch IPv6 off on the network interface you use. On Windows, in PowerShell as administrator (replace “Wi-Fi” with your adapter's name):
Disable-NetAdapterBinding -Name "Wi-Fi" -ComponentID ms_tcpip6
On macOS:
networksetup -setv6off Wi-Fi
On Linux:
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1

3. Your VLESS app isn't handling IPv6

Xray-based apps decide in their routing settings how IPv6 is handled. Turn on the option to proxy or block IPv6 (it's often called “enable IPv6” or “prefer IPv4”), so none leaves directly.

Using Nullsify?

Nullsify's WireGuard and AmneziaWG configs route ::/0 as well, with a private IPv6 address on the tunnel, so no IPv6 traffic leaves outside it. The server doesn't forward IPv6, so a dual-stack device simply uses IPv4. The trade-off: sites that are IPv6-only won't load while you're connected.
Free for 1 server. Bring your own VPS — Nullsify configures WireGuard, AmneziaWG or VLESS on it for you.

Related problems

Read more