socks_nw
shadowsocks implement by node and nw.js
-- the socks_nw now based on electron.but the build scripts had some problem need to solve.
run by cmd
-
fork this repo.
-
install node.js.ONLY TEST IN NODE THAT VERTION UPPER THAN v4.0.so if you use the lower version.please update your node.js
-
run
npm install node index.js
run by GUI
the gui version based on NW.js.
just download the version for your operating system
config.json sepcs
you must-define fileds below
{
"host":"127.0.0.1",
"port":"8081",
"local_port":"8082",
"passwd":"YOU_PASSWORD",
"method": "aes-256-cfb"
}
host
remote server ip address
port
the port number use by remote server
local_port
the local_port shadowsocks_nw listen on.default is 1080
method
the crypto method use to package the data.default is aes-256-cfb
support method below
aes-128-cfb
aes-192-cfb
aes-256-cfb
bf-cfb
camellia-128-cfb
camellia-192-cfb
camellia-256-cfb
cast5-cfb
des-cfb
idea-cfb
rc2-cfb
rc4
rc4-md5
seed-cfb
FOR DEV
-
how to package the source code to nw.js
just check this article
-
where is the protocol sepcs
-
show debug msg in console
just set you env value DEBUG=tcp.then run the program via cmd.will show the debug msg.run by node or nw both ok.but in when run by nw.the debug msg write in page will show in nw console.the debug msg in node will show in terminal.
-
report an issue or pull request will be thankful!