Skip to content

Socks server

Socks inbound configuration

Example:

bind-addr: "0.0.0.0:1089" # or "[::]:1089" for dualstack
users:
 - username: "username"
   password: "password"

Fields

bind-addr

  • Type: SocketAddr
  • Required: yes

Server binding address. e.g. 0.0.0.0:1089, [::1]:1089

users

  • Type: list of AuthUser
  • Required: no
  • Default: Vec::new()

Socks5 username, optional Left empty to disable authentication