Unverified Commit 2fd27cb0 authored by vysheng's avatar vysheng Committed by GitHub

Update README

parent 2cc4d8ff
...@@ -2,10 +2,10 @@ to build, simply run 'make'. Your binary will be objs/bin/mtproto-proxy ...@@ -2,10 +2,10 @@ to build, simply run 'make'. Your binary will be objs/bin/mtproto-proxy
to run mtproto-proxy: to run mtproto-proxy:
1. Obtain a secret, used to connect to telegram servers. 1. Obtain a secret, used to connect to telegram servers.
curl -s https://digitalresistance.dog/getSecret -o proxy-secret curl -s https://core.telegram.org/getProxySecret -o proxy-secret
2. Obtail current telegram configuration. It can change (occasionally), so we encourage you to update it once per day. 2. Obtail current telegram configuration. It can change (occasionally), so we encourage you to update it once per day.
curl -s https://digitalresistance.dog/getConfig -o proxy-multi.conf curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
3. Generate a secret to be used by users to connect to your proxy 3. Generate a secret to be used by users to connect to your proxy
head -c 16 /dev/urandom | xxd -ps head -c 16 /dev/urandom | xxd -ps
......
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