Are you an LLM? You can read better optimized documentation at /en\wiki\Socks5.md for this page in Markdown format
SOCKS5
SOCKS5 is a network proxy protocol used to move data between a client and a server. It is the fifth version of SOCKS and adds both more capability and better security than its predecessors.
Features
- Proxying: SOCKS5 opens a connection between client and proxy, and every packet is relayed through the proxy, hiding the client's real IP address.
- Protocol support: both TCP and UDP are supported, which covers real-time communication, online gaming and video streaming as well as ordinary browsing.
- Authentication: several methods are available, from no authentication to username/password, so access can be restricted.
- Any payload: SOCKS5 carries arbitrary data, not just HTTP, which makes it suitable for email, FTP, P2P and more.
How it works
- Client request: the client asks the SOCKS5 proxy for a connection, naming the destination address and port.
- Authentication: depending on configuration, the proxy may require the client to authenticate.
- Relay: the proxy connects to the destination; afterwards all client data is forwarded through the proxy, and replies travel back the same way.
Use cases
- Getting past firewalls: bypass firewalls and regional restrictions to reach blocked sites and services.
- Privacy: hiding the client's real IP address improves privacy and anonymity.
- Multiple protocols: because both TCP and UDP are supported, SOCKS5 works for browsing, gaming, streaming and messaging alike.
Configuring a SOCKS5 proxy in a browser
- Open the browser settings.
- Find the network or proxy section.
- Enter the SOCKS5 proxy address and port.
- Provide a username and password if authentication is required.
Summary
SOCKS5 is a capable and flexible proxy protocol that fits many applications and scenarios: it hides the client IP, carries multiple protocols and improves security. In a client such as Loon, SOCKS5 nodes can be combined with other protocols and routing rules for a more flexible setup.
