Files
mfahampshire 7c890ea0c5 TS SDK docs (#6840)
* First sweep packages + some minor tweaking

* Second sweep

* Regenerate lockfile + package.json mods

* Regenerate lockfile again

* Fix CI

* Fix CI again

* All building properly

* unblock

* Tweak examples

* Comments + readme + fix rotten unit test

* First pass docs

* Big pass

* Massive pass on new docs

* Update integrations.md w mobile

* Partial overhaul review

* new playground + big pass

* new fix lychee err

* IPR notice tweak
2026-06-09 13:31:08 +00:00

2.6 KiB

title, description, schemaType, section, lastUpdated
title description schemaType section lastUpdated
Choosing Between dVPN and Mixnet Mode When to use NymVPN's dVPN mode for low-latency browsing versus Mixnet mode for metadata protection against traffic analysis. TechArticle Network 2026-03-15

Choosing a Mode

Both modes run on the same Nym infrastructure but defend against different threat models. dVPN mode hides your IP and splits trust across two operators, and Mixnet mode additionally protects traffic patterns against adversaries capable of observing the entire network.

dVPN mode routes through 2 hops (Entry Gateway + Exit Gateway) connected via AmneziaWG, a WireGuard fork with traffic obfuscation to evade protocol-level detection. Latency is low, but there is no protection against timing analysis.

Mixnet mode routes through 5 hops (Entry Gateway, three Mix Node layers, Exit Gateway). Each Mix Node adds a random delay and mixes packets with those of other users. Combined with continuous cover traffic, this makes timing correlation impractical even for an adversary watching the entire network.

Quick comparison

dVPN Mode Mixnet Mode
Hops 2 (Entry + Exit Gateway) 5 (Entry + 3 Mix Nodes + Exit)
Timing protection No Yes (random delays per hop)
Cover traffic No Yes (constant dummy packets)
Protects against ISPs, websites, advertisers, passive observers Global passive adversaries, timing correlation, traffic analysis
Access NymVPN NymVPN and Nym SDKs

Use dVPN mode when

  • Latency matters: browsing, streaming, downloads, video calls
  • Your concern is ISPs, advertisers, and websites tracking you, not nation-state surveillance
  • You want decentralised trust and payment privacy without the overhead of mixing

Use Mixnet mode when

  • Metadata exposure is dangerous: journalism, activism, whistleblowing, legal work
  • Your adversary might be watching traffic across multiple network points
  • Added latency is an acceptable trade for unlinkability and unobservability

For developers

The Nym SDKs only expose Mixnet mode. dVPN mode is specific to the NymVPN application.

There are two integration models:

Proxy (traffic exits to the internet, analogous to Tor's exit relay model):

Your App --> Entry --> Mix Nodes --> Exit --> Internet

End-to-end (Sphinx-encrypted the entire way, traffic stays within the Mixnet):

Your App --> Entry --> Mix Nodes --> Exit --> Nym Client

See the developer overview for guidance on choosing between them.