{
 "name": "leak-test",
 "title": "Leak test",
 "path": "/en/doc/leak-test/",
 "toc": [
  {
   "level": 1,
   "text": "Leak test",
   "anchor": "leak-test"
  },
  {
   "level": 2,
   "text": "The checks",
   "anchor": "the-checks"
  },
  {
   "level": 2,
   "text": "Results",
   "anchor": "results"
  },
  {
   "level": 2,
   "text": "Run it yourself",
   "anchor": "run-it-yourself"
  }
 ],
 "updated": "2026-10-05",
 "content": "# Leak test\n\nBefore **every** opening (and during the trial run in `setup.sh`), a dedicated container checks 16 ways in which\nsomething could get past Tor. If a check fails, the box is stopped **before** you see it.\n\n## The checks\n\n| Step | Check |\n|---|---|\n| 1 · Exit is Tor | `check.torproject.org` reports `IsTor=true` |\n| 2 · Real IP stays hidden | Tor exit ≠ your real IP (the real one is never shown) |\n| 3 · Direct IP | even a connection made directly to an IP address ends up at Tor |\n| 4 · DNS only via Tor | the system resolver answers via Tor's DNSPort; `dig @1.1.1.1` is redirected too |\n| 5 · Forbidden paths are closed | router, computers on the home network, the host (`10.0.2.2`), IPv6, UDP, Tor ControlPort |\n| 6 · `.onion` works | via SOCKS (the Tor Browser path) and transparently (automap) |\n| 7 · The firewall counted | the counters of dropped attempts went up — dropped alone is not enough |\n\nThe test finds the router and home network addresses by itself.\n\n## Results\n\n| Display | Meaning |\n|---|---|\n| 🧅 ✅ All sealed (16 checks passed) | window opens |\n| 🧅 ❌ N of 16 checks failed | real leak found → box is stopped |\n| 🧅 ⏳ Not fully checkable: N check(s) without answer via Tor | Tor was too slow (3 attempts × 40 s), **no** leak found → box is stopped anyway, just start it again |\n\n## Run it yourself\n\n```bash\nsudo -u onionpod /opt/onionpod/bin/onionpod test     # while the box is running\n```\n\nThe output also appears in the Details of the launcher window.\n",
 "siblings": [
  {
   "name": "index",
   "title": "Overview",
   "path": "/en/doc/"
  },
  {
   "name": "install",
   "title": "Install",
   "path": "/en/doc/install/"
  },
  {
   "name": "usage",
   "title": "Usage — Starter & Box",
   "path": "/en/doc/usage/"
  },
  {
   "name": "cli",
   "title": "Terminal command — CLI",
   "path": "/en/doc/cli/"
  },
  {
   "name": "transit",
   "title": "Vault “Transit” & downloads",
   "path": "/en/doc/transit/"
  },
  {
   "name": "session",
   "title": "Session Messenger",
   "path": "/en/doc/session/"
  },
  {
   "name": "lock",
   "title": "Lock password",
   "path": "/en/doc/lock/"
  },
  {
   "name": "architecture",
   "title": "Architecture",
   "path": "/en/doc/architecture/"
  },
  {
   "name": "setup",
   "title": "setup.sh reference",
   "path": "/en/doc/setup/"
  },
  {
   "name": "troubleshooting",
   "title": "Troubleshooting",
   "path": "/en/doc/troubleshooting/"
  },
  {
   "name": "limits",
   "title": "Limits & security",
   "path": "/en/doc/limits/"
  }
 ]
}