A simple SOCKS5 server that enables one-click local SOCKS5 proxy service with authentication and upstream proxy support.
- ✅ Quick start SOCKS5 proxy server
- ✅ Username/password authentication support
- ✅ Upstream proxy support (HTTP/SOCKS5)
- ✅ Proxy chain support
# Listen on 0.0.0.0:1080 by default
./socks5d
# Specify listen address
./socks5d 0.0.0.0:8080
# Set username and password authentication
./socks5d 0.0.0.0:8080 username password# Use SOCKS5 upstream proxy (without authentication)
./socks5d 0.0.0.0:8080 socks5://proxy.example.com:1080
# Use SOCKS5 upstream proxy (with authentication)
./socks5d 0.0.0.0:8080 socks5://user:[email protected]:1080
# Use HTTP upstream proxy
./socks5d 0.0.0.0:8080 http://proxy.example.com:8080
# Use HTTP upstream proxy (with authentication)
./socks5d 0.0.0.0:8080 http://user:[email protected]:8080
# Set both authentication and upstream proxy
./socks5d 0.0.0.0:8080 myuser mypass socks5://upstream.proxy.com:1080socks5d [listenAddr] [username] [password] [proxyURL]
listenAddr: Listen address, default0.0.0.0:1080username: Optional username (for local SOCKS5 server authentication)password: Optional password (for local SOCKS5 server authentication)proxyURL: Optional upstream proxy- Format:
http://host:portorsocks5://host:port - With authentication:
socks5://user:pass@host:port
- Format:
go build- Simple proxy server: Quickly start a SOCKS5 proxy locally
- Proxy chain: Implement multi-level proxy forwarding through upstream proxy
- Network debugging: Debug network requests with authentication