Skip to content

Instantly share code, notes, and snippets.

@matinrco
Last active October 20, 2024 18:11
Show Gist options
  • Save matinrco/08789df0e3f6d9d3486ef68747a4e2ae to your computer and use it in GitHub Desktop.
Save matinrco/08789df0e3f6d9d3486ef68747a4e2ae to your computer and use it in GitHub Desktop.
Setup proxy for Discord

Setup proxy for Discord

By default, we assume that you have an HTTP proxy that is running on your system on port 8080.

  • Setup proxy for Update.exe: Discord icon on your desktop or start menu does not directly start the main Discord app. Instead, it runs the Update.exe program to perform the upgrade detection. If there is an update, Discord.exe will be started after downloading the update, so we must first setup proxy for Update.exe. Create Update.exe.config beside Update.exe in Discord installation location with following content:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
    </configSections>
    <system.net>
        <!--Configure fiddler local proxy-->
        <defaultProxy>
            <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://localhost:8080" usesystemdefault="false" />
        </defaultProxy>
    </system.net>
</configuration>
  • Setup proxy for Discord.exe: Edit discord shortcut in your desktop or start menu & add the following parameters at the end of target field in shortcut properties menu.
--a=--proxy-server=http://localhost:8080


source: from here

@Lezhek
Copy link

Lezhek commented Oct 13, 2024

it also supports socks5 use --a=--proxy-server=socks5://localhost:8080 for it

@enzain
Copy link

enzain commented Oct 13, 2024

it also supports socks5 use --a=--proxy-server=socks5://localhost:8080 for it

discord use prosy, updater not use proxy from file ....

@Lezhek
Copy link

Lezhek commented Oct 13, 2024

it also supports socks5 use --a=--proxy-server=socks5://localhost:8080 for it

discord use prosy, updater not use proxy from file ....

perhaps but it still works for me a bit laggy in terms of connection time but it works

@enzain
Copy link

enzain commented Oct 13, 2024

100%
Just i see all activities on proxy, and no see any activity of updater, and updater not work (because all traffic not allowed without proxy in one place)

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