Skip to content

Instantly share code, notes, and snippets.

@Colk-tech
Last active November 14, 2024 11:50
Show Gist options
  • Save Colk-tech/157fd6c81032dde528d3a22434b8f3e6 to your computer and use it in GitHub Desktop.
Save Colk-tech/157fd6c81032dde528d3a22434b8f3e6 to your computer and use it in GitHub Desktop.
discord-with-proxy
#!/bin/sh
/Applications/Discord.app/Contents/MacOS/Discord --proxy-server=http://po.cc.ibaraki-ct.ac.jp:3128
@liusept
Copy link

liusept commented Jun 11, 2023

For the Mac version of Discord, I extracted the /Applications/Discord.app/Contents/Resources/app.asar file and found in the code that the Mac update uses electron.autoUpdater, which means the proxy settings do not take effect. My solution is to bypass the autoUpdater. Here are the steps:

  1. Edit the file /Users/admin/Library/Application\ Support/discord/settings.json and add the following two configurations:
    "SKIP_HOST_UPDATE": true,
    "SKIP_MODULE_UPDATE": true
    
  2. Run Discord with proxy parameters using the command:
    /Applications/Discord.app/Contents/MacOS/Discord --proxy-server=127.0.0.1:7890 --ignore-certificate-errors
    

Thanks, he works on my macos

@MdNihal05
Copy link

Hello
I use Linux ( Linux 6.5.0-kali3-amd64 ) Gnome version 44.1
How can i use discord using proxy ( with my credentials provided by college )

@hdrover
Copy link

hdrover commented Oct 29, 2024

Another solution for Windows: https://github.com/hdrover/discord-drover

@Shmookoff
Copy link

Is there any way to pass the username and password for protected proxies?

@runetfreedom
Copy link

Good solution for Windows is https://github.com/runetfreedom/discord-voice-proxy

You can redirect all Discord traffic to a socks5 proxy (including webrtc).

Password auth is also supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment