Skip to content

mtProtoProxy/mtproto-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 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

navigate to the tgsocks folder and run these commands

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

simply click on tgsocks.exe

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%