A minimal SOCKS server implemented based on libuv
- Asynchronous non-blocking I/O based on libuv event loop
- Ultra lightweight
- Cross-platform support (Windows/Linux/macOS)
- SOCKS4 connect is supported
- SOCKS4a connect is supported
- SOCKS5 no-auth method (
0x00) is supported - SOCKS5 connect is supported
- SOCKS5 UDP associate is supported
- libuv library (1.x version)
- C99 compatible compiler
- CMake
- pkg-config
- Windows
- Install MSYS2: https://www.msys2.org/
- Open "MSYS2 MINGW64" shell
- Install dependencies:
pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-libuv mingw-w64-x86_64-pkgconf- Linux
# Ubuntu/Debian
sudo apt-get install cmake gcc libuv1-dev pkg-config
# CentOS/RHEL
sudo yum install epel-release
sudo yum install cmake gcc libuv-devel pkgconfig- macOS
- Install Homebrew: https://brew.sh/
- Install dependencies:
brew install cmake libuv pkgconfcmake -B build
cmake --build buildC_LOG=debug ./build/socks-libuv --bind 127.0.0.1 1080This SOCKS server does not implement any authentication methods. Anyone connecting to this server has unrestricted access to your network. You should only use this server within a trusted private network (home LAN, VPN, etc.) or behind a firewall.
Licensed under Apache License Version 2.0 (LICENSE or https://www.apache.org/licenses/LICENSE-2.0)