[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6384":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":8,"pushedAt":8,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":14,"starSnapshotCount":14,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},6384,"MTProxy","TelegramMessenger\u002FMTProxy","TelegramMessenger",null,"C",6834,1112,260,297,0,1,24,76,5,40.14,false,"master",true,[],"2026-06-12 02:01:19","# MTProxy\nSimple MT-Proto proxy\n\n## Building\nInstall dependencies, you would need common set of tools for building from source, and development packages for `openssl` and `zlib`.\n\nOn Debian\u002FUbuntu:\n```bash\napt install git curl build-essential libssl-dev zlib1g-dev\n```\nOn CentOS\u002FRHEL:\n```bash\nyum install openssl-devel zlib-devel\nyum groupinstall \"Development Tools\"\n```\n\nClone the repo:\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FTelegramMessenger\u002FMTProxy\ncd MTProxy\n```\n\nTo build, simply run `make`, the binary will be in `objs\u002Fbin\u002Fmtproto-proxy`:\n\n```bash\nmake && cd objs\u002Fbin\n```\n\nIf the build has failed, you should run `make clean` before building it again.\n\n## Running\n1. Obtain a secret, used to connect to telegram servers.\n```bash\ncurl -s https:\u002F\u002Fcore.telegram.org\u002FgetProxySecret -o proxy-secret\n```\n2. Obtain current telegram configuration. It can change (occasionally), so we encourage you to update it once per day.\n```bash\ncurl -s https:\u002F\u002Fcore.telegram.org\u002FgetProxyConfig -o proxy-multi.conf\n```\n3. Generate a secret to be used by users to connect to your proxy.\n```bash\nhead -c 16 \u002Fdev\u002Furandom | xxd -ps\n```\n4. Run `mtproto-proxy`:\n```bash\n.\u002Fmtproto-proxy -u nobody -p 8888 -H 443 -S \u003Csecret> --aes-pwd proxy-secret proxy-multi.conf -M 1\n```\n... where:\n- `nobody` is the username. `mtproto-proxy` calls `setuid()` to drop privileges.\n- `443` is the port, used by clients to connect to the proxy.\n- `8888` is the local port. You can use it to get statistics from `mtproto-proxy`. Like `wget localhost:8888\u002Fstats`. You can only get this stat via loopback.\n- `\u003Csecret>` is the secret generated at step 3. Also you can set multiple secrets: `-S \u003Csecret1> -S \u003Csecret2>`.\n- `proxy-secret` and `proxy-multi.conf` are obtained at steps 1 and 2.\n- `1` is the number of workers. You can increase the number of workers, if you have a powerful server.\n\nAlso feel free to check out other options using `mtproto-proxy --help`.\n\n5. Generate the link with following schema: `tg:\u002F\u002Fproxy?server=SERVER_NAME&port=PORT&secret=SECRET` (or let the official bot generate it for you).\n6. Register your proxy with [@MTProxybot](https:\u002F\u002Ft.me\u002FMTProxybot) on Telegram.\n7. Set received tag with arguments: `-P \u003Cproxy tag>`\n8. Enjoy.\n\n## Random padding\nDue to some ISPs detecting MTProxy by packet sizes, random padding is\nadded to packets if such mode is enabled.\n\nIt's only enabled for clients which request it.\n\nAdd `dd` prefix to secret (`cafe...babe` => `ddcafe...babe`) to enable\nthis mode on client side.\n\n## Systemd example configuration\n1. Create systemd service file (it's standard path for the most Linux distros, but you should check it before):\n```bash\nnano \u002Fetc\u002Fsystemd\u002Fsystem\u002FMTProxy.service\n```\n2. Edit this basic service (especially paths and params):\n```bash\n[Unit]\nDescription=MTProxy\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=\u002Fopt\u002FMTProxy\nExecStart=\u002Fopt\u002FMTProxy\u002Fmtproto-proxy -u nobody -p 8888 -H 443 -S \u003Csecret> -P \u003Cproxy tag> \u003Cother params>\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target\n```\n3. Reload daemons:\n```bash\nsystemctl daemon-reload\n```\n4. Test fresh MTProxy service:\n```bash\nsystemctl restart MTProxy.service\n# Check status, it should be active\nsystemctl status MTProxy.service\n```\n5. Enable it, to autostart service after reboot:\n```bash\nsystemctl enable MTProxy.service\n```\n\n## Docker image\nTelegram is also providing [official Docker image](https:\u002F\u002Fhub.docker.com\u002Fr\u002Ftelegrammessenger\u002Fproxy\u002F).\nNote: the image is outdated.\n","MTProxy 是一个简单的 MT-Proto 代理，用于连接 Telegram 服务器。该项目使用 C 语言编写，具有轻量级和高性能的特点。它支持通过随机填充来规避某些 ISP 对 MTProxy 的检测，并且可以配置多个工作线程以充分利用服务器资源。适用于需要安全、稳定地访问 Telegram 的场景，如在限制性网络环境下提供可靠的通信服务。用户可以通过生成的链接或官方机器人轻松注册并使用该代理。",2,"2026-06-11 03:06:45","top_language"]