Skip to content

xutianyi1999/rs-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs-proxy

socks5代理

Config

tcp-server

---
# 监听地址
host: 0.0.0.0:12345
# 协议
protocol: tcp
# 密钥
key: "123a"
# 缓冲队列容量
buffSize: 3000

client

---
# 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

Usage

server

./rs-proxy server server-config.yaml

client

编译httptosocks (https://github.com/xutianyi1999/httptosocks)

将httptosocks动态链接库与rs-proxy执行文件保持同级目录

./rs-proxy client client-config.yaml

Build project

cargo build --release