[关闭]
@skyway 2015-12-15T03:27:57.000000Z 字数 7154 阅读 1067

一道墙,一扇窗

翻墙 AWS shadowsocks goagent

title: 一道墙,一扇窗
date: 2015-12-14 21:44:21
categories: [编程]
tags: [翻墙, AWS, shadowsocks, goagent, 阿里云]


心墙

你的心有一道墙

但我发现一扇窗

偶尔透出一丝暖暖的微光

就算你有一道墙

我的爱会攀上窗台盛放

打开窗你会看到悲伤融化

这首歌其实蛮应景的,就算有一道墙,我们也会打开一扇窗!

VPN

付费免费的都有不少,网上都可以搜到,但是免费的都不好用,不稳定!(付费的其实也不咋地-_-有同学用过)

Goagent

这个是最复杂的,先要注册GAE账号,本地配置goagent,chrome安装SwitchyOmega代理插件,教程很多,不再赘述。唯一值得一说的是,goagent过一段时间会失效,其实是IP地址失效了,需要更新配置文件中IP地址为可用的,需要使用GoGoTester产生可用IP即可复活goagent。

Shadowsocks

之所以来折腾shadowsocks,是想找到更简单的翻墙方法,shadowsocks是我目前接触的“最简单”的翻墙手段,下载运行,输入对应账号信息即可开启代理。下载和使用教程

Too young too simple!

发现免费的账号信息基本不能使用,但是可以在网上查找别人提供的免费账号(有一定风险所有数据包都会通过代理服务器转发),对于可用账号可到(http://shadowsocks.info/),不过现在连代理好像都无法访问了。但是这边也有免费账号。

AWS代理

免费的使用人数会越来越多,时间长了还会失效。在同学的推荐下,自己AWS搭建代理(AWS可免费一年)。启动方法aws搭建shadowsocks代理里相对更简单。

有一个比较有趣的事,绑定信用卡后,1美元扣费了,但是没给我开通EC2服务,收到邮件要我提供域名和域名邮箱,木有域名邮箱,回复邮件说我只是一个穷学生,这些都没有,过了一会就开通了,囧!

你以为到这里就结束了?Impossible…

速度比较

主要是goagent,shadowsocks-SenderCloud@HK(免费账号),shadowsocks-AWS@SG,shadowsocks-AWS@JP,shadowsocks-Aliyun-AWS@SG,最后这个来源于同学认为企业和企业间的网络传输会比较快。主要用http://www.speedtest.net/和tcping.exe测试延时。

  1. D:\Personal\Downloads>ping -t 107.178.195.214
  2. 正在 Ping 107.178.195.214 具有 32 字节的数据:
  3. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  4. 来自 107.178.195.214 的回复: 字节=32 时间=291ms TTL=35
  5. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  6. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  7. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  8. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  9. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  10. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  11. 来自 107.178.195.214 的回复: 字节=32 时间=290ms TTL=35
  12. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  13. 来自 107.178.195.214 的回复: 字节=32 时间=289ms TTL=35
  14. 107.178.195.214 Ping 统计信息:
  15. 数据包: 已发送 = 11,已接收 = 11,丢失 = 0 (0% 丢失),
  16. 往返行程的估计时间(以毫秒为单位):
  17. 最短 = 289ms,最长 = 291ms,平均 = 289ms
  1. D:\Personal\Downloads>tcping.exe -t --proxy-server 45.119.97.65 --proxy-port 443 google.com
  2. ** Pinging continuously. Press control-c to stop **
  3. Probing 45.119.97.65:443/tcp - Port is open - time=62.422ms
  4. Probing 45.119.97.65:443/tcp - No response - time=2000.858ms
  5. Probing 45.119.97.65:443/tcp - No response - time=2001.770ms
  6. Probing 45.119.97.65:443/tcp - No response - time=2001.188ms
  7. Probing 45.119.97.65:443/tcp - No response - time=2001.198ms
  8. Probing 45.119.97.65:443/tcp - No response - time=2000.307ms
  9. Probing 45.119.97.65:443/tcp - Port is open - time=1342.811ms
  10. Probing 45.119.97.65:443/tcp - Port is open - time=67.654ms
  11. Probing 45.119.97.65:443/tcp - Port is open - time=86.058ms
  12. Probing 45.119.97.65:443/tcp - Port is open - time=71.507ms
  13. Probing 45.119.97.65:443/tcp - Port is open - time=60.203ms
  14. Probing 45.119.97.65:443/tcp - Port is open - time=63.946ms
  15. Probing 45.119.97.65:443/tcp - Port is open - time=60.247ms
  16. Probing 45.119.97.65:443/tcp - Port is open - time=81.908ms
  17. Probing 45.119.97.65:443/tcp - Port is open - time=1445.477ms
  18. Probing 45.119.97.65:443/tcp - Port is open - time=68.447ms
  19. Probing 45.119.97.65:443/tcp - Port is open - time=69.279ms
  20. Probing 45.119.97.65:443/tcp - Port is open - time=74.262ms
  21. Control-C
  22. Probing 45.119.97.65:443/tcp - No response - time=649.695ms
  23. Ping statistics for 45.119.97.65:443
  24. 33 probes sent.
  25. 22 successful, 11 failed.
  26. Approximate trip times in milli-seconds (successful connections only):
  27. Minimum = 60.203ms, Maximum = 1661.668ms, Average = 261.110ms

两个测试结果基本一致,但是从数据也可以看出,不稳定,经常出现超时,偶尔出现无法使用情况。

  1. D:\Personal\Downloads>tcping.exe -t --proxy-server 52.77.254.31 --proxy-port 8388 google.com
  2. ** Pinging continuously. Press control-c to stop **
  3. Probing 52.77.254.31:8388/tcp - Port is open - time=110.682ms
  4. Probing 52.77.254.31:8388/tcp - Port is open - time=108.967ms
  5. Probing 52.77.254.31:8388/tcp - Port is open - time=111.542ms
  6. Probing 52.77.254.31:8388/tcp - Port is open - time=94.762ms
  7. Probing 52.77.254.31:8388/tcp - Port is open - time=110.384ms
  8. Probing 52.77.254.31:8388/tcp - Port is open - time=106.622ms
  9. Probing 52.77.254.31:8388/tcp - Port is open - time=100.377ms
  10. Probing 52.77.254.31:8388/tcp - Port is open - time=107.496ms
  11. Probing 52.77.254.31:8388/tcp - Port is open - time=97.155ms
  12. Probing 52.77.254.31:8388/tcp - Port is open - time=103.896ms
  13. Probing 52.77.254.31:8388/tcp - Port is open - time=95.630ms
  14. Probing 52.77.254.31:8388/tcp - Port is open - time=95.285ms
  15. Probing 52.77.254.31:8388/tcp - Port is open - time=106.182ms
  16. Control-C
  17. Ping statistics for 52.77.254.31:8388
  18. 13 probes sent.
  19. 13 successful, 0 failed.
  20. Approximate trip times in milli-seconds:
  21. Minimum = 94.762ms, Maximum = 111.542ms, Average = 103.768ms
  1. D:\Personal\Downloads>tcping.exe -t --proxy-server 52.68.200.165 --proxy-port 8888 google.com
  2. ** Pinging continuously. Press control-c to stop **
  3. Probing 52.68.200.165:8888/tcp - Port is open - time=188.882ms
  4. Probing 52.68.200.165:8888/tcp - Port is open - time=188.435ms
  5. Probing 52.68.200.165:8888/tcp - Port is open - time=188.332ms
  6. Probing 52.68.200.165:8888/tcp - Port is open - time=188.029ms
  7. Probing 52.68.200.165:8888/tcp - Port is open - time=188.048ms
  8. Probing 52.68.200.165:8888/tcp - Port is open - time=188.385ms
  9. Probing 52.68.200.165:8888/tcp - Port is open - time=188.433ms
  10. Probing 52.68.200.165:8888/tcp - Port is open - time=188.216ms
  11. Probing 52.68.200.165:8888/tcp - Port is open - time=188.138ms
  12. Probing 52.68.200.165:8888/tcp - Port is open - time=188.441ms
  13. Probing 52.68.200.165:8888/tcp - Port is open - time=188.223ms
  14. Probing 52.68.200.165:8888/tcp - Port is open - time=188.466ms
  15. Probing 52.68.200.165:8888/tcp - Port is open - time=188.385ms
  16. Control-C
  17. Ping statistics for 52.68.200.165:8888
  18. 13 probes sent.
  19. 13 successful, 0 failed.
  20. Approximate trip times in milli-seconds:
  21. Minimum = 188.029ms, Maximum = 188.882ms, Average = 188.340ms

通过ping测试结果延时差不多

  1. D:\Personal\Downloads>ping -t 52.68.200.165
  2. 正在 Ping 52.68.200.165 具有 32 字节的数据:
  3. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  4. 来自 52.68.200.165 的回复: 字节=32 时间=188ms TTL=40
  5. 来自 52.68.200.165 的回复: 字节=32 时间=190ms TTL=40
  6. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  7. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  8. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  9. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  10. 来自 52.68.200.165 的回复: 字节=32 时间=188ms TTL=40
  11. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  12. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  13. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  14. 来自 52.68.200.165 的回复: 字节=32 时间=187ms TTL=40
  15. 52.68.200.165 Ping 统计信息:
  16. 数据包: 已发送 = 12,已接收 = 12,丢失 = 0 (0% 丢失),
  17. 往返行程的估计时间(以毫秒为单位):
  18. 最短 = 187ms,最长 = 190ms,平均 = 187ms
  1. D:\Personal\Downloads>tcping.exe -t --proxy-server 120.27.92.162 --proxy-port 8388 google.com
  2. ** Pinging continuously. Press control-c to stop **
  3. Probing 120.27.92.162:8388/tcp - Port is open - time=474.380ms
  4. Probing 120.27.92.162:8388/tcp - Port is open - time=444.672ms
  5. Probing 120.27.92.162:8388/tcp - Port is open - time=447.698ms
  6. Probing 120.27.92.162:8388/tcp - Port is open - time=452.495ms
  7. Probing 120.27.92.162:8388/tcp - Port is open - time=446.571ms
  8. Probing 120.27.92.162:8388/tcp - Port is open - time=406.477ms
  9. Probing 120.27.92.162:8388/tcp - Port is open - time=403.691ms
  10. Probing 120.27.92.162:8388/tcp - Port is open - time=394.485ms
  11. Probing 120.27.92.162:8388/tcp - Port is open - time=397.409ms
  12. Probing 120.27.92.162:8388/tcp - Port is open - time=385.574ms
  13. Probing 120.27.92.162:8388/tcp - Port is open - time=423.544ms
  14. Probing 120.27.92.162:8388/tcp - Port is open - time=415.427ms
  15. Probing 120.27.92.162:8388/tcp - Port is open - time=422.348ms
  16. Control-C
  17. Ping statistics for 120.27.92.162:8388
  18. 13 probes sent.
  19. 13 successful, 0 failed.
  20. Approximate trip times in milli-seconds:
  21. Minimum = 385.574ms, Maximum = 474.380ms, Average = 424.213ms

Result

Aliyun中转想法是好的,但是现实是残酷的!

测试也发现SG的服务器响应快一些,说JP比较快都是骗人的/(ㄒoㄒ)/~~一定是你们的个人喜好影响,哼!(刚开通时测是日服快点,难道不稳定)

不过至少比Goagent要快一些,并且我试过youtube720P不卡是真的!我就这样单曲循环《心墙》把这写完了,这是一首多么好听的歌!

原文链接

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注