Skip to content

Instantly share code, notes, and snippets.

@kuyagic
Last active December 18, 2017 10:19
Show Gist options
  • Save kuyagic/f180841ca0389574826bb1c1f45602f9 to your computer and use it in GitHub Desktop.
Save kuyagic/f180841ca0389574826bb1c1f45602f9 to your computer and use it in GitHub Desktop.
Shadowsocks-libev sample config

Shadowsocks-libev 最新版配置样例

{
  "server": "0.0.0.0",
  "server_port": 443,
  "local_address": "0.0.0.0",
  "local_port": 1080,
  "password": "sample-password",
  "timeout": 60,
  "plugin": "obfs-local",
  "plugin_opts": "obfs=tls;failover=sony.com",
  "*plugin-local": "obfs-local",
  "*plugin-server": "obfs-server",
  "*plugin_opts-web-local": "obfs=http;obfs-host=example.com",
  "*plugin_opts-web-server": "obfs=http",
  "*plugin_opts-tls-local": "obfs=tls;failover=cloudflare.com",
  "*plugin_opts-tls-server": "obfs=tls;failover=127.0.0.1:8443",
  "method": "chacha20-ietf-poly1305",
  "reuse_port": true,
  "fast_open": true,
  "//disable_sni": false,
  "//nameserver": "8.8.8.8",
  "//tunnel_address": "0",
  "//no_delay": 0,
  "*mode_avaiable_value": "tcp_only,udp_only,tcp_and_udp",
  "mode": "tcp_and_udp",
  "mptcp": true,
  "use_syslog": true,
  "ipv6_first": false
}

* 开头的 配置项目 是例子。 填充到 上面对应的 pluginplugin_opts 项目里。 // 开头的 是可选配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment