LMLPHP后院

MTproto proxy free技术

maybe yes 发表于 2022-01-10 17:23

Clang 源代码项目:https://github.com/TelegramMessenger/MTProxy

apt install git curl build-essential libssl-dev zlib1g-dev
wget https://github.com/TelegramMessenger/MTProxy/archive/refs/heads/master.zip
unzip master.zip
cd MTProxy
make && cd objs/bin
curl -s https://core.telegram.org/getProxySecret -o proxy-secret
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
head -c 16 /dev/urandom | xxd -ps
./mtproto-proxy -u nobody -p 8888 -H 443 -S <secret> --aes-pwd proxy-secret proxy-multi.conf -M 1

官方镜像方式,这个很多人都做不成功,因为这个镜像好久没有维护了,但是最近又更新了。

https://github.com/xb0or/nginx-mtproxy 一键脚本地址,但是没用
https://hub.docker.com/r/ellermister/nginx-mtproxy 官方库地址,最近一个月有更新,嘿嘿,但是由于小众,还是不行
https://github.com/ellermister/mtproxy 绿色脚本

command

docker run --name nginx-mtproxy -d -e tag="MAY" -e secret="eeef8924fdf36e4cda8458648b7536ddc57777772e73696e612e636f6d" -e domain="www.sohu.com" -p 18080:80 -p 59553:59443 ellermister/nginx-mtproxy:latest

docker run --name nginx-mtproxy -d -e secret="98e432562ca0f993a96d7ff8bc7875bc" -e domain="cloudflare.com" -p 18080:80 -p 55443:8443 ellermister/nginx-mtproxy:latest

小众的文艺,需要懂得的人才能明白!

app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > proxy/vmess/encoding: failed to read response header > EOF

about secret 这块是缺乏文档的。

print ("ee"+"secret"+"domain".encode().hex())
2024-11-22 06:09:08 1732226948 0.029763