sing-box or Xray: what changes when v2rayN switches core

One window, two engines, and a short table of where they part ways.

Where the two cores part ways

Xray descends from V2Ray code. The SagerNet core is a separate platform with its own config format, and v2rayN bundles both, so the choice is a setting, not a second download.

Pick by what the profile uses. A plain VLESS link runs on either. The gap opens only when you touch DNS, TUN, certificate checks or grouped profiles, and the v2rayN wiki marks each of those with the core it applies to.

Settings tied to one core

  • Certificate fingerprint pinning | Supported | Ignored, only the old public-key pinning exists
  • ICMP routing policy | Not supported, replies are answered locally | Supported, default is rule
  • FakeIP in DNS | Not offered | Supported, and only in TUN mode
  • Parallel DNS queries and serve-stale | Supported | Not offered
  • Policy group types | Four | One
  • Route-only sniffing | Optional | Forced on
  • Licence of the core | MPL-2.0 | GPL-3.0 or later, with a naming clause

Reasons to stay on Xray

If a profile with REALITY or XHTTP settings already imports and tests fine on Xray, there is no reason to change the core. Switching only adds a variable you then have to debug.

Xray is also the one to keep when you want grouped profiles with more behaviour: it supports four group types, against one for the SagerNet core. Certificate checks point the same way, since only Xray honours the fingerprint pinning field.

Every other row of the table works as a tie-breaker in the same manner: find the setting you actually use, read which core owns it, and pick that core for the profile.

Reasons to pick sing-box

Pick it when you run TUN mode and want DNS behaviour tied to it. FakeIP is available only here, and only while TUN is on. Its direct DNS also resolves node domains and direct targets, while Xray uses that DNS just to match IP rules at the routing stage.

Try this core too when a Hysteria2 profile misbehaves under the other one, since Hysteria2 is among its outbound protocols. Check the profile's own core type first: v2rayN reads it before it falls back to the global core setting.

Licences are a separate point. The SagerNet core is released under GPL-3.0 or later, and its repository adds that derivative works may not use its name without consent. Xray is MPL-2.0. Neither matters for using v2rayN, but both matter if you plan to ship a modified core.

Where the two behave differently on your screen

  • A test that works under one core and shows a start error under the other usually points at an option that core does not know.
  • Mux needs an extra choice of multiplex protocol before it takes effect on the SagerNet side.
  • Route-only sniffing cannot be switched off there.
  • Policy groups built for Xray cannot mix in profiles that only the other core supports, and the reverse holds too.

Version limits to watch

Cores move faster than the client. Release 7.25.6 of v2rayN, dated 11 October 2026, lists Xray-core v26.10.10 and adds support for sing-box v1.14 while locking the maximum at that line. So dropping a newer binary into the bin folder may not start. Update the client first, then the core.

After any update, run a real delay test on one server before you trust the whole list. A failure right after an update usually points at a version mismatch between client and core, not at your server.

Whichever core you pick, it is only a tool, and where you may use it is a separate matter. Check what your country allows and what the network you sit on permits before you switch anything on. This site sells keys in a Telegram bot with ten days free, so weigh its advice on cores with that in mind; the bot names the app that opens a key.

Questions

Do I have to pick sing-box to use TUN mode?

No. TUN mode exists in v2rayN whatever core you choose. What changes is the DNS toolkit around it: FakeIP works only with this core and only in TUN mode. If you do not need FakeIP, keep the core your profile already runs under and test again.

Can one profile list run on both cores?

Mostly yes, because plain share links are standard. Trouble starts with custom configs and policy groups. A group on Xray needs every member supported by Xray, and the same rule applies on the other side. Mixed groups need a rethink, not a click.

Will switching core change my speed?

No speed comparison between the two cores is published in the sources behind this page, so none is claimed. Routing and DNS differences can change how fast a page starts, yet no numbers exist here. Run a real delay test and a speed test on the same server under each core and compare your own results.

Is it a replacement for Xray inside v2rayN?

Not as far as the settings table shows. Both are listed as bundled cores, and several settings carry a note about which core supports them. Xray keeps features the other ignores, such as certificate fingerprint pinning, while sing-box has features Xray lacks, such as ICMP routing and FakeIP.

Where does the core change take effect?

It takes effect per profile or globally. v2rayN checks the core type stored in the profile first, and only when that is empty does it use the core type from the settings. So set the global value once, then override it on single profiles that need the other engine.

The key is a personal link from the Telegram bot, for up to 5 devices. Which app opens it, the bot tells you before you pay.

Get a key in the bot
Back to What the word V2Ray covers, and the words around it

No server yet? Get a key

A personal VLESS link from the Telegram bot, 10 days free, up to 5 devices. If you keep the key, the bot takes crypto.