socks server
socks server
The socks server binding decodes inbound SOCKS5 proxy connections, producing higher level application streams for each request.
socks_server:
type: socks
kind: server
exit: tcp_clientConfiguration (* required)
options
object
The socks server specific options.
options.authorization
objectas map of namedobjectproperties
Guard-based authorization for SOCKS5 username/password authentication. Maps a guard name to its credential extraction pattern.
options:
authorization:
my_guard:
credentials: "{username}/{password}"authorization.credentials
string
Credential extraction pattern using SOCKS5 username and password fields.
routes
array
Conditional socks specific routes.
routes[].guarded
objectas map of namedarrayofstring
List of roles required by each named guard to authorize this route.
routes[].when
array
List of conditions (any match) to match this route. Read more: When a route matches
when[].connect
string
Target address to connect to via the SOCKS5 proxy.
routes[].with
object
Route with override configuration.
routes[].exit
string
Next binding when following this route.
exit
string
Default exit binding when no conditional routes are viable.
exit: echo_servertelemetry
object
Defines the desired telemetry for the binding.
telemetry.metrics
array
Telemetry metrics to track
telemetry:
metrics:
- stream.*telemetry.attributes
objectas map of namedstringproperties
Telemetry attributes to add to the binding metrics.
telemetry.attributes
objectas map of namedstringproperties
Telemetry attributes for this binding.

