# HevSocks5Server

> A self-hosted, open-source SOCKS5 proxy server with dual-stack IPv4/IPv6, UDP relay and username/password auth; runs on Linux, macOS, Windows, Android and iOS.

- **Category:** Proxy
- **Licence:** MIT
- **Latest version:** 2.13.1
- **Open source:** oss
- **Languages:** C
- **Platforms:** OpenWrt, Build from Source
- **Tags:** Android, iOS, Proxy, DNS, Freebsd, Udp, High Performance, Tcp, Socks5, Linux, macOS, Windows, Ipv6, Ipv4, Openwrt, Socks5 proxy, Socks5 Server, Udp Relay, Dual Stack

## Description

HevSocks5Server is a lightweight SOCKS5 proxy server aimed at personal networks, servers and routers that need a fast, low-overhead proxy. It implements the standard CONNECT and UDP ASSOCIATE commands (UDP relay is not supported on Windows at this time), adds an extended FWD UDP command that carries UDP over TCP, and works across both IPv4 and IPv6 in a dual-stack setup. Several username/password accounts can be defined in an authentication file, which the running process reloads when it receives SIGUSR1; by assigning a hexadecimal mark per account you can combine it with iptables connlimit rules to cap how many connections a user may open. Operators run it as a standalone binary with a YAML config (worker count, listen address and port, bind addresses, timeouts, logging, optional daemon/pid-file mode), or embed it into their own programs via its C, Java and Kotlin APIs. Prebuilt binaries ship with each GitHub release for Linux (several architectures), macOS, FreeBSD and Windows, and an OpenWrt package is available via opkg; no Docker image is documented.

## Links

- [Homepage](https://github.com/heiher/hev-socks5-server)
- [Benchmarks (wiki)](https://github.com/heiher/hev-socks5-server/wiki/Benchmarks)

---
Source: https://selfhost.directory/project/hev-socks5-server