Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vysheng authored May 30, 2018
1 parent 2cc4d8f commit 2fd27cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ to build, simply run 'make'. Your binary will be objs/bin/mtproto-proxy

to run mtproto-proxy:
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.
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
head -c 16 /dev/urandom | xxd -ps
Expand Down

0 comments on commit 2fd27cb

Please sign in to comment.