技术生活

shadowsocks-libev配置simple-obfs

一、 安装shadowsocks-libev.

sudo apt update
sudo apt install shadowsocks-libev

二、安装simple-obfs.

apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libev-dev asciidoc xmlto automake -y
git clone https://github.com/shadowsocks/simple-obfs.git
cd simple-obfs
git submodule update --init --recursive
./autogen.sh
./configure && make
sudo make install

三、服务端配置.

1. ss-server configuration:
{
    "server":"0.0.0.0",
    "server_port": your_ss-server_port,
    "nameserver":"8.8.8.8",
    "mode":"tcp_only",
    "password":"your_key",
    "timeout":60,
    "method":"chacha20-ietf-poly1305",
    "reuse_port":true,
    "no_delay":true,
    "plugin":"obfs-server",
    "plugin_opts":"obsf=http"
}
2. 启动服务端:
 nohup ss-server -c your_ss_server_config_file.json &

四、iPhone客户瑞配置:

1.安装Potatso Lite
2.Potatso配置.
PROXY INFO:
  Type: Shadowsocks
  Host: your_ss-server_domain
  Port: your_ss-server_port
  Encryption: chacha20-ietf-poly1305
  Password: your_key
ADVANCED:
  Plugin:  Simple Obfs
  Plugin Options: obfs-host=your_ss-server_domain

发表评论

电子邮件地址不会被公开。 必填项已用*标注