Installation MTProxy For servers Linux
#mr.ashkan #MTProxy
Install NodeJS, NPM, GIT and PM2 on your server:
In Debian & Ubuntu
$> ap
$> yu
$> gi
{
"port"
$> pm
$> pm
#mr.ashkan #MTProxy
Install NodeJS, NPM, GIT and PM2 on your server:
In Debian & Ubuntu
$> ap
t-get install nodejs npm git
$> npm install pm2 -g
In CentsOS & RHEL$> yu
m install nodejs npm git
$> npm install pm2 -g
Clone repository on your server:$> gi
t clone https://github.com/FreedomPrevails/JSMTProxy.git
Enter JSMTProxy directory and edit config file (config.json) if you wish. You can change the secret and listening port. it is in json format.{
"port"
:6969,
"secret":"b0cbcef5a486d9636472ac27f8e11a9d"
}
Start the app in cluster mode using pm2:$> pm
2 start mtproxy.js -i max
You can use pm2 to list running processes and check their logs:$> pm
2 list
$> pm2 log #idInstallation MTProxy For servers Windows
#mr.Ashkan #MTProxy
Download and install NodeJS for Windows using this link: https://goo.gl/bb654A
After installation is complete, enter "Command Prompt" and install PM2 by following command:
npm i
Extract the zip file into C Drive. and enter the command in CMD:
cd C:\
pm2 s
Port: 6969
Secre
Note: You may need to open the proxy port number in your Windows firewall in order for it to accept connections.
#mr.Ashkan #MTProxy
Download and install NodeJS for Windows using this link: https://goo.gl/bb654A
After installation is complete, enter "Command Prompt" and install PM2 by following command:
npm i
nstall pm2 -g
and Download JSMTProxy using this link: https://goo.gl/NHCBKT Extract the zip file into C Drive. and enter the command in CMD:
cd C:\
JSMTProxy-master
Start the proxy server from "Command Prompt" by following command:pm2 s
tart mtproxy.js -i max
Default port and secret:Port: 6969
Secre
t: b0cbcef5a486d9636472ac27f8e11a9d
You can change these both on file config.jsonNote: You may need to open the proxy port number in your Windows firewall in order for it to accept connections.