Blog

Telegram MTProto

Is Telegram blocked in your area? Have you ever wondered how can you setup your own Telegram MTProto proxy (MTProxy) server? Learn how to install it on your Virtual Private Server (VPS).

FAQ

Q: What is MTProto?

MTProto stands for ‘Mobile Telegram Protocol’. It is a protocol which Telegram is based on. It has high security compatible with high-speed delivery and reliability on weak connections.

Q: What is MTProto Proxy?

MTProto proxy is a type of proxy especially for Telegram. When you set it in your Telegram client, all data will pass through that server.

Q: How secure is it?

It just pass encrypted MTProto traffic. Server owners have no way of deciphering the data – the same as ordinary ISPs.

Q: How can I setup my own MTProto Proxy server?

All you need is a cheap Virtual Private server (VPS) with an OS such as on CentOS, Debian or Ubuntu with root access.
I suggest an OpenVZ VPS from:
RamNode 128MB OpenVZ VPS (New York) – $15/yr
– OR –
HostUs 512MB OpenVZ VPS (Amsterdam) – $18.95/yr

Installation

Login to your server shell via SSH.

Install Rust

curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env

Install mtproxy package

Make sure you have already GCC compiler installed.

rustup update
cargo install mtproxy

Run mtproxy in background

Generate a random seed for proxy secret:

openssl rand -hex 15

SEED: Generated seed.
PORT: Your desired port. Default is 1984.

mtproxy --seed SEED --addr 0.0.0.0:PORT &

It will provide you a secret which is needed on the client side.
If you have a firewall on your server, you may need to open that port.

Configure Your Telegram Client Quickly

All you need is to put your own server IP, port and secret in below link:
https://t.me/proxy?server=IP&port=PORT&secret=SECRET

Make sure you have the latest version of Telegram client on your device.

Need someone do it for you? Contact me and I would be glad to help!

Shadowsocks

The LEDE Project (“Linux Embedded Development Environment”) is a Linux operating system based on OpenWrt. It is a complete replacement for the vendor-supplied firmware of a wide range of wireless routers and non-network devices.

In this post I’m going to show you how to install Shadowsocks client on a router to pass all traffic through and share it across all connected devices.

Read more

Shadowsocks

Shadowsocks is a secure and lightweight socks5 proxy for embedded devices and low-end boxes, designed to protect your Internet traffic.
The benefit of Shadowsocks is that it works very well on un-stable Internet connections.
It has different versions written in C, Python and Go. I recommend the libev version written in C because it has low memory usage (around 600k) and low CPU consumption.

Read more

Sometimes you need to lock on a specific cell tower due to bad cell conditions such as low data speed or because you need to test another nearby cell condition. I will teach you how to do that on Samsung Galaxy S6.

You need to run a secret code but Samsung has prevented you to run it from the phone Dialer, so you need to root your phone and manually execute the command.

Read more

I had this ADSL router and it was working fine. Recently I tried to connect it to my LG Smart TV to stream media contents but my TV didn’t recognized at all!

I did some researches over the Internet, most of them was in Russian language so i decided to write this post to help international users of this device.

Read more