TProxy-TCP-UDP

TProxy is a transparent proxy technology that allows routing network traffic through a proxy without requiring client-side configuration. It operates at the network level, intercepting and redirecting traffic transparently.

Features of TProxy

  • Transparent Proxy: No client configuration required; traffic is automatically redirected.
  • TCP and UDP Support: Handles both TCP and UDP traffic simultaneously.
  • Network Level Operation: Works at the kernel level for efficient traffic handling.
  • Linux Native: Built into Linux kernel as part of netfilter framework.
  • Flexible Routing: Can route traffic based on various criteria including IP addresses and ports.

TProxy and Clash

Clash for Windows supports TProxy mode for transparent proxying. Configuring TProxy requires the following parameters:

  • port: Local port for TProxy listener
  • network: Network type (tcp or udp)
  • device: Network device to bind to