Commit bb3715f6 authored by Administrator's avatar Administrator

Update 1me.sh

parent 55955213
......@@ -5,6 +5,6 @@ tls="$(curl -s -4 "http://116.202.97.73:3000/"${2}"/")"
INTERNAL_IP="$(ip -4 route get 8.8.8.8 | grep '^8\.8\.8\.8\s' | grep -Po 'src\s+\d+\.\d+\.\d+\.\d+' | awk '{print $2}')"
cd MTProxy/objs/bin
curl -s https://core.telegram.org/getProxySecret -o proxy-secret
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
curl -s http://git.vpsl.xyz/root/docker-node/raw/master/proxy-multi.conf -o proxy-multi.conf
eval $(echo ./mtproto-proxy -u nobody -p 8888 -H "${1}" -M 5 -P "$tag" "${tls}" --aes-pwd proxy-secret proxy-multi.conf --nat-info "$INTERNAL_IP:$IP" )
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment