When Telegram is temporarily blocked by carriers while cooperating with the Vietnamese government. One of the most effective and private solutions is the use of MTproto Proxy, a coding protocol designed specifically for telegram. This article will help you understand what Mtprototo proxy is, self -setting proxy Particularly to access the telegram when the network operator is blocked.
Join the channel Telegram belong to Anonyviet 👉 Link 👈 |
What is Mtproto Proxy?
Mtprototo Proxy is a type of proxy developed by telegram based on the security protocol (Mobile Transport Protocol). Unlike HTTP or Socket Proxy, Mtproto Proxy is only for telegram, helping users:
- Access Telegram when the network operator is blocked.
- Anonymous when using telegram
- Avoid being censored or monitored by network providers.
- MTproto Proxy usually works better than VPN in BYPASS firewall without slow connection speed.
Instructions for creating Proxy Macproto on VPS
Step 1:
To create a separate proxy address, used for individuals, you need a VPS that can be rented Vultr, Digital Ocean, Linode… With a fair price from $ 2 to $ 5/month (these are 3 VPS providers with the best speed of Vietnam). If only for proxy purposes, you do not need to hire a high -configuration VPS to do, just install Linux is okay.
Step 2:
You ssh into the server and execute the following commands:
git clone -b stable https://github.com/alexbers/mtprotoproxy.git; cd mtprotoproxy
python3 mtprotoproxy.py
At that time, the results will return you the proxy connection command
tg://proxy?server=IP-VPS&port=xxx&secret=xxxxxxxxxx
Step 3: Now you just need to paste the path tg://proxy?server=IP-VPS&port=xxx&secret=xxxxxxxxxx
Go to the browser or paste it into the Telegram chat frame and then click on it, the Telegram will automatically use the proxy that you create on the server for access. Because your proxy abroad will not be blocked or managed by the network.
To check if the telegram is really using your proxy, then you go Setting -> Advance -> Connection Type: See the Use Custom proxy. If you see the result of online is successfully connected from your telegram to your proxy.
Mtproto configuration changes
By default Mtproto will choose port and secret key, if you want to adjust the Mtproto configuration can change the content of the file. config.py
In case the Firewall VPS blocks the port, you can use the following command to open the port:
sudo ufw allow 443/tcp sudo ufw allow 443/udp
To avoid the case of turning off SSH, Mtproto is also turned off, then you should use the Screen command to still work when you turn off the SSH connection
sudo apt install screen screen -S mtproxy python3 mtprotoproxy.py # Nhấn Ctrl+A, rồi D để thoát mà n hình mà vẫn giữ server chạy
Creating Proxy Macproto not only helps you access the telegram when blocked, but also ensures privacy, stable speed and does not depend on the network. With just a few command lines, you can build an effective security system for individuals or small groups. However, you should only use it for individuals, and limit the use of proxy shared public because the data may be monitored. If you feel the telegram is quite complicated, you can consider changing TOP OTT applications for free messaging I listed.