Droute adds SOCKS5 proxy support to the Discord Desktop Client on Windows for chat, media, voice calls and screen sharing.
Inspired by force-proxy. Uses MinHook to intercept network calls.
Note
Requires a running SOCKS5 proxy. Voice calls and screen sharing also need UDP support. A local proxy from v2rayN, Clash Verge or NekoBox works too.
- TCP and UDP proxying: Routes chat, media, voice calls and screen sharing through SOCKS5.
- Automatic reconnection: Restores UDP proxy connections after the proxy disconnects or restarts.
- Update hook: Installs Droute in new Discord versions before they launch.
- Installer and CLI: Configure the proxy and install or remove Droute through the installer or command line.
- Discord builds: Supports Stable, Canary and PTB on Windows x64.
- Start your SOCKS5 proxy. Check its address, port, and username/password if required.
- Download
droute.zipfrom the latest release and extract it. - Open
droute.exe. - Enter your SOCKS5 proxy settings and click Apply.
- Select Stable, Canary, or PTB and click Install. With automatic restart enabled, the installer closes Discord first. Otherwise, close Discord yourself.
- Close the installation log window. If the installer closed Discord, it starts it again. Otherwise, start Discord yourself.
To remove Droute, close Discord and use the installer's removal action for the selected build.
Close Discord before installing or removing Droute. The CLI does not close it automatically.
Install for Stable and save the proxy address:
.\droute.exe --install --branch stable --host 127.0.0.1 --port 1080Replace 127.0.0.1:1080 with your proxy address. Use --branch canary or --branch ptb for other builds. Add --user and --password if your proxy requires authentication.
Remove Droute from Stable:
.\droute.exe --uninstall --branch stableList available options:
.\droute.exe --helpThe installer copies version.dll from the Windows System32 folder to the selected Discord app-* folder. It adds droute.dll to the import table of this copy and places droute.dll in the same folder.
When Discord loads the local version.dll, Windows also loads droute.dll. This is the main Droute library: it uses MinHook to intercept Winsock calls and send connections through SOCKS5. The original system DLL and Discord executable are not changed.
The installer places Droute.UpdaterHook.dll and Update.exe.config in the same folder as Discord's Update.exe. The config file tells the updater to load the hook. Before Discord starts, the hook finds the latest app-* folder and installs version.dll and droute.dll if they are missing.
- Configuration: Proxy settings are stored for the current Windows user at
HKCU\Software\droute. Change them through the installer orregedit, then restart Discord. - Logs: Located at
%LOCALAPPDATA%\droute\logs\<branch>\droute-YYYY-MM-DD.logandupdater-YYYY-MM-DD.log(stable,canary, orptb). Each day has a separate file; Discord processes share the same daily log. Old logs are kept. - Log Level: Controlled by the
LogLevel(DWORD) value inHKCU\Software\droute:0— TRACE (all events and detailed UDP operations)1— DEBUG (association attempts, SOCKS negotiation)2— INFO (default: lifecycle events and UDP summaries)3— WARN4— ERROR
Reporting a Problem: Include your Droute version, Discord build, proxy software and what went wrong. Attach the logs for that day and say roughly when the problem happened.
- Logs include session IDs (
SESSION), process PIDs, and connection generations (generation) to help trace traffic flows. - Proxy usernames/passwords, packet contents and command-line arguments are not logged.
Use external-libs.zip to install or remove Droute from your own launcher, script or installer through the Droute.Core public API.
| File | Purpose |
|---|---|
Droute.Core.dll |
Finds Discord installations and installs or removes Droute. |
AsmResolver*.dll |
Libraries for reading and modifying PE files. |
MonoMod*.dll |
Libraries for .NET runtime compatibility. |
droute.dll |
Main x64 library that proxies Discord connections. |
Droute.UpdaterHook.dll |
Applies Droute after updates; includes its dependencies and droute.dll. |
Update.exe.config |
Loads the hook through Discord's Update.exe. |
- Keep the dependency DLLs in the same folder as
Droute.Core.dll. Use files from the same release. Core targets .NET Framework 4.5. - Close Discord before installing or removing Droute.
Install(branch, ...)installs the main library and updater hook;Install(appDirectory, ...)patches only that version. - Configure the proxy separately through the installer or
HKCU\Software\droute. Restart Discord after changes.



