wmproxy 0.2.7

http https proxy by rust
Documentation
control = "0.0.0.0:8838"



[proxy]

# 连接服务端地址

server = "wmproxy_server_docker:8091"

bind_addr = "0.0.0.0:8090"

flag = "http https socks5"

# 连接服务端是否加密

# ts = true

# two_way_tls = true

username = "wmproxy"

password = "wmproxy"



# 内网映射配置的数组



  #将localhost的域名转发到本地的0.0.0.0:8080

[[proxy.mappings]]

name = "web"

mode = "http"

local_addr = "192.168.17.22:8080"

domain = "localhost"



headers = [

  "proxy x-forward-for {client_ip}",

  "proxy + from $url",

  "+ last-modified 'from proxy'",

  "- etag",

]



#将tcp的流量无条件转到0.0.0.0:8080

[[proxy.mappings]]

name = "tcp"

mode = "tcp"

local_addr = "192.168.17.22:8080"

domain = ""