首页 > ss5+proxychains代理设置问题

ss5+proxychains代理设置问题

背景:
在使用docker时,从官网pull一个镜像时候比较慢,而我有台在东京的aws机器,所以在这台aws上搭建了ss5服务机器后,在国内服务器使用proxychains来pull镜像操作。

连接google测试操作

[root@localhost ow_tmp]# proxychains curl -I https://www.google.com
ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-request| www.google.com 
|S-chain|-<>-54.64.201.56:8011-<><>-4.2.2.2:53-<><>-OK
|DNS-response| www.google.com is 216.58.217.196
|S-chain|-<>-54.64.201.56:8011-<><>-216.58.217.196:443-<><>-OK
HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Location: https://www.google.co.jp/?gfe_rd=cr&ei=5bX0Vv61HZCz8we6yrDABw
Content-Length: 262
Date: Fri, 25 Mar 2016 03:52:05 GMT
Alternate-Protocol: 443:quic,p=1
Alt-Svc: quic=":443"; ma=2592000; v="31,30,29,28,27,26,25"

但在pull docker镜像时候却没有跳出dns-request这些内容,所以我怀疑还是走正常的网络而不是代理的网络,这是为咋的。

[root@localhost data]# proxychains docker pull fanne/centos6_python27_flask_init:0.2
ProxyChains-3.1 (http://proxychains.sf.net)
0.2: Pulling from fanne/centos6_python27_flask_init
974b511550e8: Pulling fs layer 
75dbeb2e7c9c: Pulling fs layer 
7ad99d8f7ce6: Layer already being pulled by another client. Waiting. 
47d44cb6f252: Already exists 
6a7b54515901: Already exists 
e788880c8cfa: Already exists 
1debf8fb53e6: Already exists 
72703a0520b7: Already exists 
【热门文章】
【热门文章】