在 Debian 上使用 SS+OBFS 可以采用以下步骤:

  1. 安装 shadowsocks-libev 和 simple-obfs:
$ sudo apt-get update
$ sudo apt-get install shadowsocks-libev simple-obfs
  1. 编辑 Shadowsocks 配置文件 /etc/shadowsocks-libev/config.json,添加 obfs 参数:
{
    "server":"your_server_ip",
    "server_port":your_server_port,
    "local_port":1080,
    "password":"your_password",
    "timeout":60,
    "method":"aes-256-cfb",
    "plugin":"obfs-server",
    "plugin_opts":"obfs=http"
}

其中,your_server_ip 是你的服务器 IP 地址,your_server_port 是你的服务器端口号,your_password 是你的 Shadowsocks 密码。

  1. 启动 Shadowsocks:
$ sudo systemctl start shadowsocks-libev
  1. 启动 simple-obfs:
$ sudo systemctl start obfs-server
  1. 验证是否成功:
$ curl -x socks5h://127.0.0.1:1080 http://httpbin.org/ip

如果返回你的服务器 IP 地址,则说明已经成功使用 Shadowsocks+OBFS

debian如何使用 ss obfs

原文地址: https://www.cveoy.top/t/topic/erI9 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录