Shadowsocks

Shadowsocks

这里只介绍常见的,大同小异,自行比较。 首先打开Shadowsocks服务端配置文件config.json,一般位于/etc/Shadowsocks/目录下,内容如下:

  1. {
  2. "server":["[::0]","0.0.0.0"],
  3. "server_port":10000,
  4. "password":"password",
  5. "timeout":300,
  6. "user":"abcd",
  7. "method":"aes-256-cfb",
  8. "fast_open":true,
  9. "nameserver":"8.8.8.8",
  10. "mode":"tcp_and_udp"
  11. }

例如使用主:4.4.4.4的IP节点进行接入,则修改nameserver后的8.8.8.8为4.4.4.4,修改后内容如下:

  1. {
  2. "server":["[::0]","0.0.0.0"],
  3. "server_port":10000,
  4. "password":"password",
  5. "timeout":300,
  6. "user":"abcd",
  7. "method":"aes-256-cfb",
  8. "fast_open":true,
  9. "nameserver":"4.4.4.4",
  10. "mode":"tcp_and_udp"
  11. }

然后重启Shadowsocks服务端

欢迎关注我的微信公众号,不定期赠送Netflix DNS解锁服务

qrcode_for_gh_b8fe229d156f_258 (1).jpg