socks5代理
---
# 监听地址
host: 0.0.0.0:12345
# 协议
protocol: tcp
# 密钥
key: "123a"
# 缓冲队列容量
buffSize: 3000
---
# socks5监听地址
socks5Listen: 0.0.0.0:12333
# http/https监听地址
httpListen: 0.0.0.0:10800
# 服务端地址 (多个)
remote:
# 名称
- name: local-tcp
# 协议
protocol: tcp
# 连接数
connections: 1
# ip 地址
host: 127.0.0.1:12345
# 密钥
key: "123a"
# 缓冲队列容量
buffSize: 3000
./rs-proxy server server-config.yaml
编译httptosocks (https://github.com/xutianyi1999/httptosocks)
将httptosocks动态链接库与rs-proxy执行文件保持同级目录
./rs-proxy client client-config.yaml
cargo build --release