Support socks5:// protocol as client proxy protocol
Author: deviantonyCreated Dec 6, 2023Updated Jul 21, 2026
The current version of chisel only allows the client to use socks:// or socks5h:// as proxy protocol:
However, Golang only supports the socks5:// proxy protocol for its HTTP client:
This leads to a conflicting situation when using a Go program that uses both the standard HTTP client and the chisel client and needs to go through a SOCKS proxy (such as the portainer agent).
Was there any reason to only allow for the socks:// instead of socks5:// in the chisel client?
Source: jpillora/chisel