Skip to content

p1ratrulezzz/mtproto-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

mtproto-proxy

MTProto proxy server Subscribe us @tgsocks

Requirements

  • Install .NETCore 2.0 first

Installation

Clone this repository

git clone https://github.com/freepvps/mtproto-proxy.git
cd mtproto-proxy

Build project

dotnet restore src
dotnet build src -c Release

Change config

  • Secret - your secret
  • Servers - configur listners
    • Host - binding host (0.0.0.0 for ipv4 all, :: for ipv6 all)
    • Port - binding port
    • Backlog - socket backlog
  • DataCentres - Telegram datacentre's addresses
  • ConnectionsPerThread - How many connections works one one thread
  • ReceiveBufferSize - How many bytes server can receive in one Receive call
  • SelectTimeout - Select waiting timeout in microsecond (1 second = 1000000 microseconds)
  • Secret - your secret (hex-string)
vi src/tgsocks/config.json

Start proxy

dotnet src/tgsocks/bin/Release/netcoreapp2.0/tgsocks.dll src/tgsocks/config.json

About

MTProto proxy server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%