Socks5

SOCKS5 (RFC 1928) is a long-standing standard for proxy communication. It abstracts away the forwarding task: whatever runs at the application layer, if the destination is reachable over TCP or UDP, SOCKS5 can deliver the bytes β€” a flexibility that makes it the common last mile in many proxy chains.

Distinguishing Traits of SOCKS5

  • Any TCP traffic: Works with every application protocol, not just web traffic.
  • UDP datagrams: Uses UDP ASSOCIATE to relay UDP packets as well.
  • Auth negotiation: Supports unauthenticated and credential-based sessions.
  • Mature ecosystem: Adopted as the standard local listener in most Clash-like clients.

Configuring a SOCKS5 Node in FlClash

FlClash treats SOCKS5 servers as ordinary nodes. The fields for manual creation are:

  • server: Server address
  • port: Server port
  • username: Username (when authentication is enabled)
  • password: Password (when authentication is enabled)
  • udp: Enable UDP forwarding (true/false)