Quantcast
Channel: 看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
Viewing all articles
Browse latest Browse all 20536

成功利用nysocks翻墙

$
0
0
登陆linux vps,
wget https://github.com/oyyd/nysocks/releases/download/1.2.10/nysocks_v1.2.10_linux_x64.zip

unzip nysocks_v1.2.10_linux_x64.zip

cd  nysocks

chmod 755  nysocks_v1.2.10_linux_x64

./nysocks_v1.2.10_linux_x64 server -p 20000 -k my-password -m fast
会显示:
info 2018-03-01 21:35:24: Server is listening on 20000
保持这个终端窗口不要关闭。这条命令./nysocks_v1.2.10_linux_x64 server -p 20000 -k my-password -m fast 无论以screen方式,daemonize方式,还是以> /dev/null &方式,都维持不了多久就会退出。以forever方式或pm2方式运行也是无效的,所以干脆直接运行
./nysocks_v1.2.10_linux_x64 server -p 20000 -k my-password -m fast ,保持这个终端窗口不关闭即可。如果翻墙失败,那是因为vps断开连接了,那么只好重新登陆vps,进入nysocks目录,重新运行./nysocks_v1.2.10_linux_x64 server -p 20000 -k my-password -m fast ,保持这个终端窗口不要关闭)

在本地机器mac上,
 wget https://github.com/oyyd/nysocks/releases/download/1.2.10/nysocks_v1.2.10_mac.zip

unzip  nysocks_v1.2.10_mac.zip

cd  nysocks

chmod 755 nysocks_v1.2.10_mac

 ./nysocks_v1.2.10_mac client -a my-vps-ip -p 20000 -k my-password -m fast --socks_port 1081
(--socks_port 1081的意思是指定本地机器所监听的socks端口为1081)
会显示:
...
info 2018-03-02 10:39:35: SOCKS5 service is listening on 1081
(一直要等到出现提示:SOCKS5 service is listening on 1081,保持这个终端窗口不关闭,然后即可去设置浏览器的socks5代理服务器为127.0.0.1:1081,浏览器即可成功翻墙)

项目地址:https://github.com/oyyd/nysocks/
下载地址:https://github.com/oyyd/nysocks/releases



Viewing all articles
Browse latest Browse all 20536

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>