I need to enable my PHP application to access certain restricted resources. I have built an email client, but its connection performance with imap.126.com is very poor.
I need to use wgcf and gost to accelerate this connection.
wgcf is used to generate configuration files for Cloudflare WARP.
gost is used to launch a local SOCKS5 server and forward traffic to Cloudflare WARP.
Finally, I can set up a proxy server in PHP.
putenv('http_proxy=http://localhost:port');
putenv('https_proxy=http://localhost:port');
putenv('all_proxy=socks5://localhost:port');
However, I'm not sure if gost is usable, since—to some extent—it also falls under the category of tunneling software.