aiqinxuancai/discord-proxy
aiqinxuancai/discord-proxy has 1,105 GitHub stars and 54 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 10:13 UTC. Last push 2025-09-02.
给Discord的Windows客户端添加代理,Add a proxy to discord windows client
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalDiscord Proxy
本工具旨在解决 Discord 桌面客户端必须使用全局代理的问题,通过 DLL 注入实现为 Discord 单独设置代理,而无需修改系统设置。
原理
通过 version.dll 劫持,在 Discord 启动时加载自定义 DLL。该 DLL 会:
- 读取并存储通过命令行参数传入的代理地址。
- 拦截 Discord
updater.node模块读取系统环境变量的操作。 - 返回命令行中设置的代理地址,从而实现局部代理。
如何使用
方式一:快速开始 (推荐)
推荐使用配套的启动器项目 DiscordProxyStart。
该工具会自动放置 version.dll并启动 Discord ,支持带认证的代理地址,例如:
http://127.0.0.1:1080
http://user:[email protected]:1080
socks://127.0.0.1:1080
socks5://127.0.0.1:1080
socks5://user:[email protected]:1080
具体配置方法请阅读其项目README。
方式二:手动配置
下载 DLL 文件 从本项目的 Releases 页面 下载最新的
release.zip,并解压出version.dll。放置 DLL 文件 将
version.dll文件复制到 Discord 的安装目录下(通常是Discord.exe所在的文件夹)。如果 Discord 更新,可能需要重新执行此步骤。
修改快捷方式 找到 Discord 在桌面创建的快捷方式,右键点击“属性”,在“目标”字段的末尾添加代理参数。
注意:请确保修改的是 Discord 安装时自动创建的快捷方式,其目标通常指向
Update.exe,而不是您手动为Discord.exe创建的快捷方式。
在“目标”字段的最后,先添加一个空格,然后加上如下参数(请根据您的代理地址修改):
--a=--proxy-server=http://127.0.0.1:1081修改后的完整“目标”内容示例如下:
C:\Users\xxxxxx\AppData\Local\Discord\Update.exe --processStart Discord.exe --a=--proxy-server=http://127.0.0.1:1081启动 Discord 双击修改后的桌面快捷方式启动 Discord 即可。
重要提示:手动配置方式仅支持无需用户名和密码认证的
http和socks5代理协议。
疑难解答
如果配置后 Discord 仍然无法连接,请尝试以下检查:
1. 检查快捷方式是否正确
请确保您修改的是由 Discord 安装程序创建的快捷方式。
- 正确的目标应指向:
Update.exe - 错误的目标指向:
Discord.exe
2. 检查代理客户端的规则
如果您使用 Clash 等基于规则的代理客户端,请确保 discord.com 及相关域名没有被设置为“直连”或被其他规则拦截,需要走代理通道。
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars