You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a useful scripts for setting up your own mtprotocol proxy for telegram. Note: this proxy once created can be used by other users who you shared this proxy with and it doesn't give them access to your account, so its completely safe to use it and share with friends!
13
7
Plus: Sponsored channels are coming. That means that your proxy can force your users to subscribe to some channel. This can be as a motivation to setup such a proxy.
14
8
@@ -23,7 +17,8 @@ The initial daemon file is in https://github.com/danog/MadelineProto (don't forg
marcopolo - is the seed to generate hashes. Its is not safe to leave it this way, replace it with your secret seend. Better to use one of the generated from (Random.org)[https://www.random.org/passwords/?num=5&len=16&format=html&rnd=new]. It might ask you to login using your existing telegram account. This is ok, just enter your phone number and then an autorization code that you will get via Telegram. This is just a one time setup.
50
+
marcopolo - is the seed to generate hashes. It is safe to leave it this way as created hash will be random anyway. But it is better toset your own seed and use for that the one of the generated from [Random.org](https://www.random.org/passwords/?num=5&len=16&format=html&rnd=new) password of any length. It might ask you to login using your existing telegram account. This is ok, just enter your phone number and then an autorization code that you will get via Telegram. This is just a one time setup.
53
51
54
52
You will see that daemon is running and it will create a file secret.txt.
55
53
56
54
```
57
55
cat secret.txt
58
56
```
59
57
58
+
Note: you can manualy create this file and write your own 32 character string in it. In this case it won't be rewritten.
59
+
60
60
it will show you your secret password for connecting to your proxy. Something like:
61
61
```
62
62
abcdefghihfhasfasfsfsgfagasg
63
63
```
64
64
65
-
abcdefghihfhasfasfsfsgfagasg - is the Secret (some kind of a password) used to auth on your proxy server. Keep this in secret, copy to some place.
65
+
abcdefghihfhasfasfsfsgfagasg - is the 32 characters secret (some kind of a password) used to auth on your proxy server. This password will be written to secret.txt file and you always can reveal it if you have root access.
66
66
67
67
Now press Ctrl+C to terminate the proxy process.
68
68
@@ -113,7 +113,7 @@ Note: you should edit the file /etc/init.d/mtproxy and set your own seed and por
113
113
(use Alpha release as it is the only release availalble that supports MTproto proxies)
0 commit comments