http2 proxy server && client
从 release 下载对应系统编译好的
./linux -conf conf.toml
./mac -conf conf.toml
或是
./win.exe -conf conf.toml
category = "server" # 执行模式-服务端
[server]
Server = "0.0.0.0:1234" # 监听地址和端口
CaKey = "xxx.key" # 证书
CaCrt = "xxx.cert" # 证书私钥
NeedAuth = true # 是否身份认证
Pprof = 12345 # pprof 端口
debug = true # 是否开启 debug
[server.user]
username = "aaa" # 用户名
passwd = "bbb" # 密码
category = "socks5"
[client]
Local = '0.0.0.0:30000'
Proxy = 'host:30000'
needAuth = false
Pprof = 12345
category = "http"
[client]
Local = '0.0.0.0:30000'
Proxy = 'host:30000'
needAuth = true
Pprof = 12345
[server.user]
username = "aaa"
passwd = "bbb"