The way to X GFW

H4ltup
H4ltup
Jul 21, 2017 · 5 min read

风声又紧,看戏的怕被烧了脚。还是肉翻才好。这是前言。


这两天更新了一下 VPS 上的组件。试图逃过最近一波封锁。

搭了三种不同的:

  1. Shadowsocks-libev (3.0.7)with obfs(simple-obfs 0.0.3)
  2. Cisco Anyconnect (Ocserv 0.11.8)
  3. V2Ray (vmess over TLS)

老样子还是踩了不少坑,这里记录一下。顺便也留下各种链接方便同样搞事的你参考。


更新 shadowsocks-libev

据说 ss-libev 旧协议能识别了。换用 AEAD Ciphers。

AEAD 常用的四种

VPS 使用系统为 Ubuntu 17.04 。嫌每次都要从源码更新 ss 太过麻烦,而默认源里的太老,ppa 只支持 LTS。

于是采用了 17.10 的源。和 Github master repo 的内容一致。

add-apt-repository “deb http://archive.ubuntu.com/ubuntu artful universe”

apt-get update

apt-get -t artful install shadowsocks-libev


安装 simple-obfs

本来没啥毛病的。但傻逼如我,想当然觉得是空格,折腾了半天配置文件就是没把服务启起来。

再也不敢不认真看文档了

还有一个值得注意的地方是,如果你的 ss-server 端口使用了低端口号(比如我的是445),加了 obfs 是起不来的。

使用以下命令搞定

sudo setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/obfs-server


V2Ray

我的天这玩意儿把我恶心坏了。

平时用 JSON 太少,配置文件死活写不对。最后怎么写对了的我也不明白。。。

据网友测试 vmess over TLS 应该是比较好的解决方案。

人参那么的艰难

参考链接的话可以看

我自己的配置文件在

实际用的时候把 access 日志删了吧

各种客户端下载地址

Cisco AnyConnect (官方的不好下)

macOS 推荐使用shimo




OK 就这样吧~

)

    H4ltup

    Written by

    H4ltup

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade