windows2003上搭建shadowsocks服务端
Shadowsocks 是一个轻量级隧道 socks5 代理,可加密网络通道。
至于用来做什么,天朝你懂的。
更多细节功能,请自行google。
网上有很多在Linux下使用nodejs配置shadowsocks服务端的教程
这篇文章是讲如何在windows下配置
环境准备:
一台win2003的服务器。 nodejs-windows
1,安装nodejs
进入http://nodejs.org/点击页面上的INSTALL安装相应的node环境
2,安装完成后。
点开始,所有程序,
将其拖到桌面上
打开Node.js command prompt 在弹出的命令行中输入
npm install -g shadowsocks
安装完成后进入
C:\Documents and Settings\Administrator\Application Data\npm\node_modules\shadowsocks
编辑
config.json
(红色部分为必改项目,其他的如果不懂,可以默认)
修改:
{ "server":"127.0.0.1", #(必改项目)你服务器的IP地址 "server_port":8388, #向外开放连接的端口 "local_port":1080, #本地端口, "password":"barfoo!", #(
必改项目
)密码 "timeout":600, #超时时间,建议默认 "method":"
aes-256-cfb
" } #加密方式,建议默认 }
3,运行服务端
打开Node.js command prompt 在弹出的命令行中输入
ssserver
命令行不要关闭。
需要关闭的时候 就关掉命令行。
每次开机都要重新执行第3个步骤。

本作品采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议进行许可。
本文出自阿伟的博客,转载时请注明出处及相应链接。
本文永久链接: https://blog.awei.me/windows2003-shadowsocks-server/
24条评论
您好,我用您的这个教程在WINDOWS2003上设置了SS。SS可以使用。但我之前架在这个服务器上的网站却访问不了了。关掉SS后,网站就可以访问 了。请问是什么原因?多谢。
检查下端口占用
您好,感谢回复。我就是按这个教程里设置的。如下。”server”:”127.0.0.1″, #(必你服务器的IP地址
“server_port”:8388, #向外开放连接的端口
“local_port”:1080, #本地端口
刚才看了下网站的TCP端口是80.请问应该怎么避免这种冲突?这里server_port:8388及local_port 1080能改成其他的吗?
好像又没问题了。我今天打开SS,也开了网站,可以正常打开。多谢了。
3,运行服务端 打开Node.js command prompt 在弹出的命令行中输入
ssserver
请问如何让这个步骤,每次开机自动运行,而不是手工处理呢
打开Node.js command prompt后提示不是有效对的win32程序,这个是什么原因
怎么配置多账户
怎么能优化SS的速度啊?怎么换服务端的DNS,默认的好像是谷歌DNS,上面显示连接ping600+很不稳定,connecting 8.8.8.8:53
服务端多个IP怎么添加进去
QQ使用SOCKS5代理如何设置
现在长城防火墙已经能识别ss,并且开始封端口了
一直在用。上个月我的服务器还跑了将近240G流量。大部分问题跟线路有关。
封的是你服务器ip,不是ss,有些vps的ip段被加入gfw豪华套餐了,例如linode的日本有些ip段
搭建好了,也运行成功了,但是客户端运行后就是不行,也不知道为什么
加密怎么弄?
500 Internal Privoxy Error
Privoxy encountered an error while processing your request:
Could not load template file no-server-data or one of its included components.
Please contact your proxy administrator.
If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It’s typically the Privoxy install directory).
检查下防火墙
这个问题你怎么解决的?
我的服务器IP是内网路由器分配的是192.168.1.88,,这种情况下想要用外网连接这台服务器应该怎么设置??
Your environment has been set up for using Node.js 6.10.3 (x64) and npm.
C:\Users\Administrator>ssserver
shadowsocks v1.5.3
9 Jun 11:13:11 – 73ms loading config from C:\Users\Administrator\AppData\Roaming
\npm\node_modules\shadowsocks\config.json
9 Jun 11:13:11 – 73ms calculating ciphers for port 8388
events.js:160
throw er; // Unhandled ‘error’ event
^
Error: bind EADDRNOTAVAIL xxx.23.161.45:8388
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at _handle.lookup (dgram.js:219:18)
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:390:7)
at startup (bootstrap_node.js:150:9)
at bootstrap_node.js:505:3
请问这是什么原因,谢谢,我只改了server和密码其他都没动
总是有错误 这是为什么
文章已经很早。建议使用linux环境安装。
跟我一样的错误
您好,请问:
“配置好客户端,查看IP是否显示为服务器IP”
怎么配置客户端?