Skip to content

Tproxy server

Tproxy inbound configuration

Example:

tag: proxy
type: tproxy
bind-addr: "0.0.0.0:1089" # or "[::]:1089" for dualstack

Fields

tag

  • Type: string
  • Required: yes

Required label for this endpoint.

default-outbound

  • Type: string (optional)
  • Required: no

Outbound this inbound prefers, stamped on every accepted request as UserContext::preferred_outbound. A router script may honor or override it; without a router it selects the outbound, and unset falls back to the global default.

bind-addr

  • Type: SocketAddr
  • Required: yes

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