Monthly Archives: September 2014

Install ShadowSocks Client as a Windows Service

1/ Install Node.js

http://nodejs.org/

2/ Install ShadowSocks

Open Node.js command line environment, and type following command:

npm install -g shadowsocks

3/ NSSM Configure

Download from http://nssm.cc/

Run nssm.exe from command line window.

nssm.exe install

nssm service installer

 

 

 

 

 

 

Key parameters:

Parameter Description Example Value
Path ShadowSocks client full path. C:\Users\Administrator\AppData\Roaming\npm\sslocal.cmd
Startup directory ShadowSocks config file location. C:\xxxxx\AuthInfo
Arguments ShadowSocks startup parameter, include config file name. -c Linode_ShadowSocks_Local.json

 

Example Screen:

TAB Application:

nssm_application_tab

 

 

 

 

 

 

TAB Details

nssm_detail_tab

 

 

 

 

 

 

TAB Log on

nssm_logon_tab