Install dependencies, you would need common set of tools for building from source, and development packages for `openssl` and `zlib`.
Install dependencies: you'd need normal set of tools for building from
On Debian/Ubuntu:
source, and a dev package for openssl.
On Ubuntu/Debian:
```bash
```bash
apt install build-essential libssl-dev
apt install build-essential libssl-dev zlib1g-dev
```
```
On CentOS/RHEL:
On CentOS:
```bash
```bash
yum install openssl-devel
yum install openssl-devel zlib-devel
yum groupinstall "Development Tools"
yum groupinstall "Development Tools"
```
```
To build, simply run `make`. Your binary will be in `objs/bin/mtproto-proxy`. If build was failed, you would do `make clear` at first, before building it again.
To build, simply run `make`. Your binary will be in `objs/bin/mtproto-proxy`. If build was failed, you would do `make clear` at first, before building it again.
# Running
## Running
1. Obtain a secret, used to connect to telegram servers.
1. Obtain a secret, used to connect to telegram servers.