snail007 / goproxy

🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。

Home Page:https://snail007.host900.com/goproxy/manual/zh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--dns 参数不可使用

InoryS opened this issue · comments

commented

Expected Behavior

支持 --dns 参数 ./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321

Current Behavior

文档中 HTTP(S)反向代理 建议 proxy代理最好指定--dns 8.8.8.8参数。实际上 --dns 不可以使用:

./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
proxy/main.go:86 FATAL err : unknown long flag '--dns

Steps to Reproduce

1.下载 goproxy

  1. ./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
    1.proxy/main.go:86 FATAL err : unknown long flag '--dns

Context (Environment)

  1. proxy version is : v13.0
  2. full command is : ./proxy http --dns 8.8.8.8 -t tcp -p :80,:443 -T tcp --intelligent=parent --jumper socks5://foo:bar@example.com:42321
  3. system is : Centos 7
  4. full log is: proxy/main.go:86 FATAL err : unknown long flag '--dns

--dns-address not --dns