JSMTProxy icon indicating copy to clipboard operation
JSMTProxy copied to clipboard

Doesn't work

Open Alias321 opened this issue 7 years ago • 12 comments

Hi I installed x86 nodejs on my windows vps

i run this command on command line : Pm2 start mtproxy.js -i -1 Because when i type Pm2 start mtproxy.js -i max A lot of cmd window will open and close consistently and never stops

Above that Its dont working I also opened my custom port on firewall

Alias321 avatar May 30 '18 15:05 Alias321

  1. Provide your nodejs version and pm2 versions please (node -v and pm2 -v)
  2. try running:
node mtproxy.js

p1ratrulezzz avatar May 30 '18 15:05 p1ratrulezzz

@p1ratrulezzz 1- node ver =8.11.2 | pm2 ver = 2.10.4 2-tried, same result

Alias321 avatar May 30 '18 18:05 Alias321

Provide also logs you have (the output of node mtproxy.js). It will be much useful

Or better save your time and install it on a Linux vps (any server os, Ubuntu or debian will be easier )

I guess that you see icons because of this

exec('/usr/bin/prlimit --pid ' + process.pid + ' --nofile=81920:81920', (error, stdout, stderr) => {});

This will work only for Linux. Try commenting this line or delete it then start again.

p1ratrulezzz avatar May 30 '18 21:05 p1ratrulezzz

@p1ratrulezzz Unfortunately I haven't Linux server The log of "node mtproxy.js" is

Connection per seconds :0 dc1:0 dc2:0 dc3:0 dc4:0 dc5:0

Alias321 avatar May 31 '18 18:05 Alias321

So actually it works. You have to forward the port you using through your router to your pc if not connected directly to the Internet. Also, you must have public ip (not the private like 10.10.1.2 or 192.168.1.67 and etc.

чт, 31 мая 2018 г., 21:02 Alias321 [email protected]:

@p1ratrulezzz https://github.com/p1ratrulezzz Unfortunately I haven't Linux server The log of "node mtproxy.js" is

Connection per seconds :0 dc1:0 dc2:0 dc3:0 dc4:0 dc5:0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FreedomPrevails/JSMTProxy/issues/10#issuecomment-393621464, or mute the thread https://github.com/notifications/unsubscribe-auth/AEyYFRUroWqHy0rGNg7y9bSHC0xs2nDlks5t4DBAgaJpZM4UTeEU .

p1ratrulezzz avatar May 31 '18 18:05 p1ratrulezzz

@p1ratrulezzz do you know a free linux server provider?

Alias321 avatar May 31 '18 21:05 Alias321

@Alias321 there is no free VPS provider. Install on your PC virualbox or vmware player and setup Ubuntu in it. Or maybe pay 5$ and create a droplet on digital ocean. cloud servers are really cheap

p1ratrulezzz avatar May 31 '18 22:05 p1ratrulezzz

installed it on an AWS server. have same issue

lots of these in logs:

0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy  | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0

Telegram says connecting...

npm v6.1.0 node v10.3.0

hadifarnoud avatar Jun 04 '18 22:06 hadifarnoud

i found the problem copy files to root of C drive create a batch file with below commands

cd\ c: pm2 start mtproxy.js -i max

use windows scheduler to run whether user is logged on or not and execute the batch file

b2never avatar Jun 10 '18 04:06 b2never

@p1ratrulezzz thank you so much sir

b2never avatar Jun 10 '18 04:06 b2never

Had the same problem in ubuntu 16.04. Solved for me with running with sudo permissions. Just run sudo pm2 start mtproxy.js -i max

emranbm avatar Sep 06 '19 12:09 emranbm