Skip to content

snowluwu/droute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Droute (Native Proxy for Discord)

Droute is a tool that adds SOCKS5 proxy support directly into the Discord Windows client. It fixes the lack of built-in proxy settings in Discord, so you don't have to mess with TUN interfaces or full-system VPNs.

The project is inspired by the force-proxy concept and uses the MinHook library.


Features

  • Full Proxying: Routes all Discord traffic through your proxy, completely ignoring system proxy settings, TUN interfaces, or VPNs.
  • Voice Chats & Streams: Proxies both TCP (chat, media) and UDP traffic, so voice calls and screen shares work perfectly.
  • Isolated: Works entirely within Discord's memory. It doesn't create system services or change Windows network settings.
  • Survives Updates: The patch automatically reapplies itself whenever Discord updates.
  • Multi-Client Support: Works with Discord Stable, Canary, and PTB.

Installation

  1. Download the latest release from the releases page.
  2. Open droute.exe, enter your SOCKS5 proxy details, and choose your Discord build.
  3. Click apply to install the patch.

How It Works

Clean Integration

Droute doesn't modify Discord's actual executable files. Instead, it hooks into the process using DLL Hijacking and .NET config files.

Intercepting Traffic

The tool places version.dll and droute.dll into the Discord folder.

  • When Discord starts, it loads the local version.dll instead of the system one.
  • This local version.dll forwards all standard requests to the real system library while loading droute.dll in the background.
  • Using MinHook, droute.dll hooks into Discord's low-level network functions and redirects traffic to your proxy.

Handling Discord Updates

When Discord updates, it creates a folder with the new version number. Droute hooks into this update process to stay active:

  • It drops a .config file for the .NET application into the folder with Update.exe (Squirrel Updater).
  • When Update.exe runs, it automatically loads Droute.UpdaterHook.dll.
  • This library hooks the process creation function. As soon as Squirrel Updater creates the new version directory, the hook patches it before the new Discord client even launches.

Settings & Logs

  • Configuration: All settings are stored in the Windows Registry at HKCU/Software/droute and can be tweaked via regedit.
  • Logs: The main module writes logs to %Temp%\droute.log, while the updater logs are saved to droute.log in the Discord root folder.

About

Native SOCKS5 proxy integration for Discord (Windows) via DLL Hijacking. Supports voice, streams, and updates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors