Preface
In my previous two articles, I introduced proxychains (see:Home Data Center Series - A Powerful Local Proxy Tool: proxychains) and gost (see:Home Data Center Series - Using gost to Build Your Own Proxy Server and Forwarding Proxy Chains) these two software tools.
In logical order, gost solves the problem of whether there is a proxy and what protocol the proxy uses, while proxychains solves the problem of how to make various TCP-based applications in the Linux command line use these proxies when needed. Following this logic, Proxifier, which we are introducing today, solves the problem of how software in desktop systems that originally does not support setting up proxies can use these proxies.
Some desktop software supports proxies, such as Telegram (actually, it has only supported it for the past year or so; it didn't support it before):

Some can use proxies, but not with the usual protocols, such as WhatsApp Desktop:

PS: WhatsApp proxies have a dedicated setup method, but after I set it up, although everything was normal in the container, it just showed connection failed in WhatsApp, which completely frustrated me~ In the end, I gave up and just treated it as unsupported, since it doesn't support the traditional Socks5 protocol anyway.
Strictly speaking, software that supports setting up proxies internally is in the minority; the vast majority of software does not support proxy settings. However, if I route my entire computer's traffic through a proxy just to make these applications work properly, it would be inconvenient for me. For example, what if I want to use Xunlei to download a movie? Moreover, accessing many domestic websites this way would also cause issues. Therefore, for these applications that actually need to go through a proxy (such as some foreign software) but do not have a proxy setting option in their actual interface, Proxifier is the best solution.
Configuring Proxifier
The Proxifier software can be downloaded from the official website:https://www.proxifier.com/, the software comes with a default 31-day free trial. I won't go into the details of the installation, as it's just the normal software installation process under macOS and Windows (those who want to get it for free will have to find their own way), nothing much to say, so let's go straight to the interface for the configuration introduction.
Adding Proxies
Proxies:

This interface is for adding proxy server addresses:


Why did I say in the image above that I recommend using the Socks5 protocol? Because the protocols supported by default in Proxifier, besides Socks4 and 5, only include the HTTPS option. You should know that HTTPS proxy servers involve the issue of trusted certificates, and setting them up is definitely slightly more complicated than HTTP proxy servers (for details on setting up an HTTPS proxy and resolving certificate issues, you can refer to my previous article:Home Data Center Series - Using gost to Build Your Own Proxy Server and Forwarding Proxy Chains), so why doesn't Proxifier offer an HTTP proxy option by default?
The official explanation is as follows:
Confusing HTTP and HTTPS proxies is a common misunderstanding. An HTTP proxy server can handle HTTP connections (port 80). They can also support HTTPS connections (SSL), but usually, such connections are only allowed on port 443 (the standard port for HTTPS). For example, this is the default configuration of Squid and Microsoft ISA proxy servers. If an HTTP proxy server allows HTTPS connections on arbitrary ports, it can be called an HTTPS proxy server (also known as a CONNECT or SSL proxy). In this case, it can be used for general TCP connections, like a SOCKS v4/5 proxy. Proxifier can work with HTTP proxy servers that do not support HTTPS on arbitrary ports. Due to the technical limitations of the protocol, only HTTP connections can be handled using such proxy servers. This means that Proxification rules must be configured accordingly.
The general idea is that Proxifier believes that although common HTTP proxies can support HTTPS connections, it is actually conditional (for example, an HTTP proxy that only listens on port 443). If this HTTP proxy can listen on any port and achieve HTTPS connections, it is actually no longer an HTTP proxy, but an HTTPS proxy~~~~ Well, it's a bit convoluted, but the general meaning is clear: it just doesn't trust common HTTP proxies. But if you insist on using an HTTP proxy, you need to enable the following option:

Then, the HTTP option will appear:

Configuring Rules
The previous section added available proxy servers; this section is about using Rules to associate the software that needs to use a proxy with the available proxy servers.
First, it needs to be made clear that once Proxifier is started, it actually takes over all outbound network connection requests in the system. It's just that by default, there is a Rule that allows all network connections to access the network directly in a "Direct" manner, as shown below:

So what we need to do is add new Rules for the software that needs to use a proxy, hijacking its traffic and sending it to the proxy server.
Taking Telegram as an example:


Other software that needs to use a proxy can be added one by one in this manner. It should be noted that these rules are matched sequentially from top to bottom, so you need to consider this matching order when adding rules.
Also: What if you want a system-wide global proxy? You only need to change the Action of the default rule from "Direct" to using one of your proxies.
DNS

The most important options in DNS are the top and bottom options in the red box: "Detect DNS settings automatically" and "Resolve hostnames through proxy". These two options are mutually exclusive.
"Detect DNS settings automatically" is the default option, which uses the local machine's DNS to resolve domain names. "Resolve hostnames through proxy" uses the DNS on the proxy server to resolve domain names. If you feel that the local DNS resolution results might be poisoned, while the DNS resolution results on the proxy server are trustworthy, just check this option.
HTTP Proxy Configuration Tips
As we mentioned earlier, Proxifier does not trust HTTP proxies. If you only have an HTTP proxy available and have no other choice, you just have to bite the bullet. If there are indeed issues using the software after configuring it according to the previous method—for example, Steam can access pages normally, but reports the following error when accessing the Community and Market:


For abnormalities like this, you can consider the following solution. Simply put, add the same proxy twice at the same time: once as HTTP and once as HTTPS, as follows:

Then, when configuring Rules, add target ports 80 and 443 separately, associating 80 with the HTTP proxy and 443 with the HTTPS proxy, as shown below:


Proxy Chains
Proxifier also supports the proxy chain feature:


Those who need it can configure it themselves.
Note: For the detailed concept and construction of proxy chains, please refer to my other article:Home Data Center Series - Using gost to Build Your Own Proxy Server and Forwarding Proxy Chains。
Afterword
The "Three Musketeers of Proxying": gost, proxychains, and Proxifier are finally all written. If you have your own censorship-circumvention or "magic" egress, combined with Tailscale, this trio can achieve internet freedom for almost any device you manage, no matter where that device is located... It is absolutely fantastic, and how far you can take it depends on how flexible your mind is.
I found a better one https://github.com/liliBestCoder/ghost-proxifier-pro Just drag the app in to use it
It looks really good, I'll download it and give it a try.