a SSH tunnel as SOCKS5 proxy client based on Node.js.
Setup
-
Edit
config.jsto fit your need. -
npm i && npm start -
Test with something like
curl --socks5 127.0.0.1:8080 http://ifconfig.co. -
Have fun.
from https://github.com/arthow4n/node-ssh-socks5-tunnel-client
---------
这个程序很有意思。实际上就是一个ssh tunnel client。运行
npm i && npm start 显示:...SOCKSv5 proxy server started on 127.0.0.1:8080不要关闭此终端窗口,然后设置浏览器的socks proxy地址为127.0.0.1 ,端口为8080 ,浏览器即可翻墙。
No comments:
Post a Comment