使用Nodejs实现的代理服务器,使用AES-256-GCM加密。后继计划会添加obfs混淆。
目前还在试验阶段,请谨慎使用。需要在服务器和本地安装Node.js
- potatoServer.js是服务器。
- potatoSocks.js是本地的socks5代理服务器。
- 使用git clone到本地后,请先执行npm install来安装依赖组件
- 然后新建一个config.josn文件作为配置
{
"server_addr": "127.0.0.1",//服务器地址
"server_port": 1999,//服务器的端口
"local_port": 3000,//本地socks5代理服务器的端口
"algorithm": "aes-256-cfb",//加密算法,暂时无用。强制使用AES-256-CM
"password": "password"//密码,需要保持两端一致
}
- 然后在服务器上运行 node potatoServer.js 如果想后台运行,执行 node potatoServer.js &
- 本地运行 node potatoSocks5.js 即可在你指定的端口开启socks5代理
- 浏览器里设置socks5代理服务器,就可以安心的浏览了~