-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SS配置客户端SwitchySharp #45
Comments
场景:
First run polipo with parent proxy set to Shadowsocks:
Then you can play with the HTTP proxy:
不过很显然,上面的设置还是没能成功。
配置如下
继续执行命令
日志文件在 注意: 如果发现链接不同,首先确定SS服务器启动了,然后在SS客户端启动了,然后检查polipo日志,查看日志问题 |
wget http://sqlite.org/2015/sqlite-doc-3090200.zip -e use_proxy=yes -e http_proxy=127.0.0.1:8123 http://www.chenyudong.com/archives/wget-http-proxy-setting.html
|
记录下今天的一个SS的问题。
![](https://camo.githubusercontent.com/52c904cdf24f9ea5d0f8743b5756c4d651354636adb2b43de7dfa323dc37e4bb/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69322f313132383431383133382f5442326c50733269565858585863695858585858585858585858585f2121313132383431383133382e706e67)
首先描述下场景,
ubuntu系统,安装VM虚拟机,虚拟机安装WIN10系统,里面配置了一个C#版的SS客户端,使用的是桥接模式,独立分配IP地址。SS客户端链接阿里云的服务器IP,同时启用 "允许来自局域网的连接"
然后,本机ubuntu系统下的chrome浏览器配置,注意红框部分,对应WIN10的IP。
![](https://camo.githubusercontent.com/2d61a71b0146a163fa893eeba000f3b6813aac0a5e62ee7f81cfc0fd1675c333/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69342f313132383431383133382f5442325931513769565858585862785858585858585858585858585f2121313132383431383133382e706e67)
![](https://camo.githubusercontent.com/42e4abe6d70ac859c93c68dcd61207cb5dd611a78071dc8c3d810a74fef5983b/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69312f313132383431383133382f544232335a6734695658585858625f5858585858585858585858585f2121313132383431383133382e706e67)
此后,访问地址,没有任何问题,server端也显示了相关的日志信息。
然后,我在自己ubuntu系统启动了SS客户端,也就是不再使用WIN10C#的流量,直接服务器端和客户端全部使用NodeJS.
![](https://camo.githubusercontent.com/9089de6b67478f894b99d3d8bc488ef0b0171bf4cc2932d41963698abf0e14cd/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69332f313132383431383133382f54423262622e5069565858585858365870585858585858585858585f2121313132383431383133382e706e67)
![](https://camo.githubusercontent.com/296061ce9e8a4ccd9b113e8084bfb85518d22abc0c8b3d53131291236a179c36/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69312f313132383431383133382f5442324667512e695658585858614d5858585858585858585858585f2121313132383431383133382e706e67)
config.json也是一样配置数据,
按照我的理解,只是IP地址的修改而已,
但是,没有任何响应,页面一直是在转逆时针的圈圈,本地和服务器也没有输入任何相应的日志信息。
不解???
![](https://camo.githubusercontent.com/680af552665650ef7ba19208cda10eda3fcad201239098ba2e9e407ec8c3e07e/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69312f313132383431383133382f5442325f5f415669565858585858475870585858585858585858585f2121313132383431383133382e706e67)
后来看了几个博客里面的截图,发现他们那里是设置在 SOCKETS HOST里面
修改后,页面顺利打开,日志信息也树立
![](https://camo.githubusercontent.com/40d8cb79a39c84c989e6d1e0d3ff5bc8919fccef2a8da2309ca2830636537b23/68747470733a2f2f696d672e616c6963646e2e636f6d2f696d6765787472612f69332f313132383431383133382f5442326664735f695658585858615f5858585858585858585858585f2121313132383431383133382e706e67)
猜想:
因为SOCKET5位于HTTP应用层和TCP传输层中间,在本机启动客户端时,访问http://cn.bing.com/
,他会将HTTP请求转变为SOCKET数据报,然后传输到客户端内,客户端在链接阿里云服务器,实现一次请求结束。所以,转变为HTTP时会出错,页面打不开
但是当启用,允许来自局域网的连接,对于局域网的其他机器而言,它是一个HTTP代理,这样更具有通用性。
不对不对,这个理解感觉不怎么正确。
The text was updated successfully, but these errors were encountered: