linux 下 使用 obfs-local 插件
最近科學x上網越來越不順利, 只能走些偏門了
obfs-local 由 simple-obfs 項目提供, 官方明確已經棄用,
將由 vXray-plugin 代替, 但是我目前沒有找到替換方法, 所以續用之
一、插件本質
在 linux 下, obfs-local 的插件, 實際上就是一個 可執行的 二進制文件
$ file `which obfs-local`
/usr/local/bin/obfs-local: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=0cbbf652c5a3636a82d0a556a20acf8b7a8a700b, not stripped
二、安裝方法
# debian 系
sudo apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libev-dev asciidoc xmlto automake
# redhat 等其他系統請參照 github 官方 README
git clone https://github.com/shado--wsocks/simple-obfs --depth=1
## 這里多了幾筆你可能沒看到,注意去掉
cd simple-obfs
git submodule update --init --recursive
./autogen.sh
./configure && make
sudo make install
不出意外的話, 你的系統里面將會有 obfs-local
這個命令
位於 /usr/local/bin/obfs-local
三、 小結
能用 mac 還是用 mac 吧, linux 實在是太折騰了