svipsz / sz

0 stars 0 forks source link

Telegram MTProto 代理搭建 #1

Open svipsz opened 6 years ago

svipsz commented 6 years ago

1:apt install git curl build-essential libssl-dev zlib1g-dev

2:git clone https://github.com/TelegramMessenger/MTProxy

3:cd MTProxy

4:make && cd objs/bin

5:curl -s https://core.telegram.org/getProxySecret -o proxy-secret

6:curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf

7:head -c 16 /dev/urandom | xxd -ps

8:curl -fsSL get.docker.com -o get-docker.sh

9:sh get-docker.sh

10:docker run -d -p 993:443 -v proxy-config:/data -e SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -e TAG=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy telegrammessenger/proxy:latest

miladsokhango commented 5 years ago

how to uninstall ??