Open-source project
Mekotofeuka/MTPROTO_FIX_By_MEKO avatar
Mekotofeuka/MTPROTO_FIX_By_MEKO

MTPROTO_FIX_By_MEKO: a one-click MTProto proxy installer and fix for Telegram servers

Universal VPN and MTProto/WEB proxy installer & fix - one‑click setup of Telemt, MTG, MTProtoZig etc MTProxy. Solves iOS/Android/Desktop connection issues, includes SNI checker, Panels installer and config editor. Настраиваем MTProto/WEB прокси за 1 минуту. 通用 VPN 和 MTProto 代理一键安装与修复工具,内置 SNI 检测、

1,381 stars26 forksShellNOASSERTION

At a glance

What is it?
MTPROTO_FIX_By_MEKO is a Bash menu that installs, patches and manages Telemt, MTG, MTProto.zig and other MTProto proxies on a server. It targets the server side of the connection failures Telegram clients hit after June 4, and it is distributed as a paid script with a one-star price.
Who is it for?
Adopt it if you already run or plan to run a self-hosted MTProto proxy on a Unix server and want the install, config editing, SNI check and rollback behind a menu instead of typed commands. Skip it if you need a fully free tool, an auditable licence, or want to run proxies on Windows.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 11 days ago.
What is it written in?
Mainly Shell, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 17, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What problem MTPROTO_FIX_By_MEKO targets

The README dates the problem to June 4, when Telegram clients started failing to connect to MTProto proxy servers. The symptoms it lists are specific: the initial TCP handshake hangs or takes a long time, the client gets blocked from the server for two minutes after the first connection attempt, iOS shows an endless update, and media such as video, photos, GIFs, circles and stickers do not load. The fix is applied on the server side, and the README states that clients do not need to install or change anything on their devices.

The audience is narrow by design. This is for people who run their own MTProto proxy on a Unix-like server and administer it themselves, not for someone looking for a proxy to join. The README says the script is compatible with all Unix-like operating systems and that it manages Telemt, MTG, MTProto.zig and MTPRoxyL, covering install, update, rollback, configuration, config changes, log viewing, panel installation and obtaining a connection link, all without typing commands. It also claims to handle VPN panels and nodes.

How the fix and the proxy manager work

The repository is a collection of Bash entry points rather than a compiled binary. The top level holds install.sh, install_auto.sh, install_main.sh, install_vpn.sh, main.sh, a 3x-ui_menu.sh, proxys/, remote_ctl/ and a proxy_checker.py. The README describes two installation modes: a standard install where you pick settings, and an automatic install that first states what it will do and then performs it after confirmation. The menu is the interface: you select a proxy to install, then apply the fix, then adjust configuration.

The README refers to V3 and V4 versions of the fix, calling V4 faster and V3 more accurate and universal, and notes that one of the older V2 fixes is used by Telemt and MTProto.zig themselves. That is a claim about upstream adoption made by the project, not something the repository layout confirms. What the layout does confirm is the split between install scripts, a proxy directory, a remote control directory and a Python checker. The README says the Bash code is fully open with comments on each block, so the exact rules the fix writes can be read directly in the scripts.

Installing MTPROTO_FIX_By_MEKO and applying the fix

The README gives a single command to install or update the script. It runs install.sh from the main branch through sudo bash, so it needs root on the server. The README asks you to read the documentation first, noting that existing video guides contain inaccuracies and wrong settings.

bash
curl -fsSL https://raw.githubusercontent.com/Mekotofeuka/MTPROTO_FIX_By_MEKO/main/install.sh | sudo bash

After that, the README says you install a proxy (standard Telemt, MTProto.zig, MTG and others) from the script menu. You do not have to preinstall the proxy, and the order does not matter: proxy then fix, or fix then proxy. Then you apply the fix from the main menu by choosing [1] Меню установки MTProto FIX. According to the README, if Telemt was already in the server config, you should disable its built-in MSS and SYN by pressing [5] in the Telemt settings menu. Finally the README points to button [7] in the menu, or the Telegram bot, to check SNI. The README states the script is paid, with a price of one star on the repository.

Limits, wrong-tool cases and the paid model

The most concrete constraint is that the README calls the script paid, with a price of one star on the repository. That is unusual for a shell script and it means the licence situation is not straightforward. The repository's LICENSE file exists, but the licence is reported as NOASSERTION, and the README badge says MIT. Those two signals conflict, and the README does not explain how a paid script reconciles with an MIT badge. Treat the terms as unresolved until you read the LICENSE file yourself.

There are other boundaries. The README does not document rollback of the fix itself, only rollback as a proxy command in the menu. It does not state which Linux distributions were verified, only that the script is compatible with Unix-like systems. It does not document how the fix interacts with proxies it does not list. The README claims the script determines and sets rules for different devices with 100 percent probability, which is a marketing statement rather than a documented mechanism. If you need a free tool, or you are not comfortable running a curl-to-sudo script you have not read, this is the wrong choice. It is also a server-side tool: if you are a client looking for a proxy to use, it does nothing for you.

The alternative: configuring Telemt or MTG directly

The underlying proxies, Telemt, MTG and MTProto.zig, are separate projects with their own configuration files and command-line tools. The alternative to MTPROTO_FIX_By_MEKO is to install one of them directly and edit its config by hand, applying whatever server-side rules you determine are needed for the June 4 connection problem. That approach gives you a smaller dependency surface: no third-party menu, no extra installer, no paid step, and no question about whether the fix overwrites settings you set yourself.

The difference in approach is where the knowledge lives. With the direct route, you read the proxy's own documentation and write the rules yourself, which takes longer and requires understanding the TCP handshake behavior. With MTPROTO_FIX_By_MEKO, the rules are packaged in commented Bash and applied through a menu, and the script also handles install, update and rollback of the proxy. If your proxy config is already tuned and you only need the fix, the menu is extra surface. If you want the whole lifecycle in one place, the menu is the point.

Maintenance, releases and upgrade cost

The repository is not archived, and the last push was on 2026-09-08. Releases are frequent and versioned with a simple scheme: v1.99 on 2026-08-26, v1.98 on 2026-08-19, v1.97 on 2026-08-16. That cadence suggests active maintenance, but it also means the installer you run today can be replaced within days, so pinning a release or re-reading the changelog before updating is reasonable if you manage several servers.

The upgrade path is the same command as the install, which fetches install.sh from the main branch. That means an update pulls whatever is on main at that moment, not a tagged release. There are separate scripts for automatic, main and VPN installs, and a remote_ctl directory, so a full upgrade may touch more than one entry point. Plan for re-reading the Telemt MSS/SYN step after major updates, since the README ties it to Telemt configuration. On licence, the README badge says MIT while the repository is reported as NOASSERTION; resolve that before redistributing or bundling the script.

Editorial conclusion

Adopt it if you already run or plan to run a self-hosted MTProto proxy on a Unix server and want the install, config editing, SNI check and rollback behind a menu instead of typed commands. Skip it if you need a fully free tool, an auditable licence, or want to run proxies on Windows. Before paying the one-star price, read install.sh and main.sh in the repository, confirm the fix still applies to your proxy version (the README lists Telemt 3.5.6, MTProto.zig 1.13.0, Mtg 2.2.8, Erlang mtproto proxy, MTProtoProxy python and JSMTProxy), and check whether the Telemt MSS/SYN step is needed for your configuration.

Frequently asked questions

How does MTProto Proxy work?

The README does not explain the protocol internals. It describes the server-side symptom this project fixes: the initial TCP stage hangs or takes long, and the client can be blocked from the server for two minutes after the first connection.

How to set up MTProto Proxy with MTPROTO_FIX_By_MEKO?

Run the install command with sudo, then install a proxy such as Telemt, MTProto.zig or MTG from the script menu, apply the fix via [1] Меню установки MTProto FIX, and check SNI with button [7]. The README says the order of proxy and fix does not matter.

How do I install a Telegram proxy with MTPROTO_FIX_By_MEKO?

The README gives one command: curl -fsSL https://raw.githubusercontent.com/Mekotofeuka/MTPROTO_FIX_By_MEKO/main/install.sh | sudo bash. After that, proxies are installed from the script menu rather than manually.

Which Telegram proxy is best for MTPROTO_FIX_By_MEKO?

The README does not rank proxies. It states the script was tested on Telemt 3.5.6, MTProto.zig 1.13.0, Mtg 2.2.8, Erlang mtproto proxy, MTProtoProxy python and JSMTProxy, and that any of them can be installed from the menu.

Official sources

  1. Issues
  2. Mekotofeuka/MTPROTO_FIX_By_MEKO on GitHub
  3. README
  4. Releases
Community notes

Community notes