Server support upstream socks5 proxy
In some case there need a domain or ip rule based software for dispatch traffic on server side Such as https://github.com/Dreamacro/clash Config:
Rule:
- DOMAIN-SUFFIX,google.com,auto
- DOMAIN-KEYWORD,google,auto
- DOMAIN,google.com,auto
- DOMAIN-SUFFIX,ad.com,REJECT
- IP-CIDR,127.0.0.0/8,DIRECT
- SOURCE-IP-CIDR,192.168.1.201/32,DIRECT
And some hook-based socksify software such as proxychains-ng can not do with golang compiled software.
I hope chisel server be able to forward outgoing traffic to another socks5 server
In the following, where do you need a socks proxy?
user-app -> chisel-client -> chisel-server -> user-endpoint
@jpillora
user-app -> chisel-client -> chisel-server -> socks5 proxy -> user-endpoint
Hi @jpillora ~Could you please explain or clarify the README section on SOCKS5 usage? I might have misunderstood the use cases here.~
Oh nevermind, --socks5 enables SOCKS5 support without needing a separate SOCKS5 program running on the server machine.
I realized this after reading this line.
It failed earlier because it wasn't listening on IPv6, and I was trying to connect over IPv6, obviously it failed.