$ curl -x socks://127.0.0.1:1080 -L -o geoip.dat.new https://github.com/Loyalsoldier/v2ray-rules-dat/raw/release/geosite.dat -v
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 127.0.0.1:1080...
Connected to 127.0.0.1 (127.0.0.1) port 1080 (#0)
SOCKS4 communication to github.com:443
SOCKS4 non-blocking resolve of github.com
SOCKS4 connect to IPv4 20.205.243.166 (locally resolved)
使用的是 tls + ws 的模式,以下的配置
nginx 的配置
server.conf.json
client.config.json
curl 下载文件时的输出