Sorry,I haven't install Chinese language in my system yet.
After installing lantern,chrome can surf Internet now,but in terminal
i can't ping google.com.
1 AtlantisZ 2016-01-08 14:32:03 +08:00 via Android 层次不一样..ping 不是应用层的吧.. |
![]() | 2 Tink PRO proxychains |
![]() | 4 xcodebuild 2016-01-08 14:50:09 +08:00 proxychains ,而且你得找出 pac 里真正的 http proxy |
![]() | 5 knightdf 2016-01-08 14:59:49 +08:00 直接网络连接里设置代理不就得了 |
![]() | 6 Guenlay 2016-01-08 15:13:10 +08:00 proxychains 是全过代理 如果一定要用 PAC 的自动功能 那还得找一个支持 PAC 的程序 然后 proxychains 接上级代理 好残的解决方案 |
![]() | 7 master13 2016-01-08 15:23:51 +08:00 Does "in terminal i can't ping google.com." mean "connection to google.com via terminal remains unavailable." ? |
![]() | 8 raysonx 2016-01-08 15:24:00 +08:00 pac is just a simple script to configure proxy logic for a browser, not a proxy protocol. If you are using a SOCKS proxy, note that SOCKS only supports for TCP/UDP protocol while `ping` is based on ICMP protocol. As a result, `ping` doesn't work through those kinds of proxy. |
![]() | 9 qinxi 2016-01-08 15:31:56 +08:00 我没用 pac 模式. ss 的 windows 下 `set http_proxy=http://localhost:1080/` |
![]() | 10 nbndco 2016-01-08 15:40:05 +08:00 1.你永远也不可能通过代理服务器 ping ,用什么软件都没用 2.你需要一个能够解析 PAC 的代理服务器然后直接把 http_proxy/https_proxy 设上去,而不是一个只能甩出一个 pac 文件的服务器。 |
![]() | 11 sammo 2016-01-08 15:58:17 +08:00 你不需要 pac ,你只需要设置当前终端实例(就是当前终端窗口)的 http_proxy 打开终端,键入 export http_proxy='http://localhost:8118' export https_proxy='https://localhost:8118' ping google.com 只对当前终端窗口有效。 此外,如果你用的不是 蓝灯,而是 Shadowsocks 那么需要把 ss 代理转换为 http 代理(通过 Privoxy ),再用以上方法 |
![]() | 12 imn1 2016-01-08 15:59:14 +08:00 ~/.bashrc export http_proxy="http://127.0.0.1:1080" export https_proxy="http://127.0.0.1:1080" suggest 1080 --> privoxy |
![]() | 13 sammo 2016-01-08 16:01:02 +08:00 把 8118 那行命令换成 8787 ,这是 Lantern 的端口。 " 蓝灯默认会在 [本机地址] 上开启一个 HTTP 代理的端口,端口号是 8787 " 通过我的经验, PAC 这个东西其实并不好用 ... 所以尽量避免用 PAC 吧,手动配置 |
![]() | 14 MyFaith 2016-01-08 17:47:23 +08:00 go stackoverflow plz :) |
![]() | 15 SoloCompany 2016-01-09 03:14:48 +08:00 思路大概就是双重代理吧,第一重供 http proxy ,解释 pac 然后提连后端的代理或直连 cow / 3proxy 就是类似的服务软件但本身自己做智能路由而并不直接支持第三方 pac 然后配置 proxychain 走这个本地代理 其实如果是 mac 或 win 的话, proxifier 是更好的解决方案,但 proxifier 也是没有 pac 支持,要自己配置路由(app/域名) |
![]() | 16 szpunk 2016-01-09 12:20:22 +08:00 Privoxy, 有脚本转把 autoproxy 转为它的规则 |
![]() | 17 gccplus 2016-01-16 16:58:00 +08:00 gconftool-2 -R /system/http_proxy gconftool-2 -s /system/http_proxy/use_http_proxy -t bool true gconftool-2 -s /system/http_proxy/autoconfig_url -t string http://server.com/proxy.pac |
![]() | 18 hhrmatata 2016-01-20 19:20:10 +08:00 |