async/.await SOCKS5 implementation.async/.await SOCKS4 Client implementation.async/.await SOCKS4a Client implementation.run_tcp_proxy for custom handling to build a router or to use a custom accelerated proxying method0x00)0x02)AuthMethod Traitauth_method_enums macro)IPv4, IPv6, and Domains types are supportedexamples are provided that can be run immediately:This library is maintained by anyip.io a residential and mobile socks5 proxy provider.
Open in crates.io.
Please check examples directory.
# Run client
RUST_LOG=debug cargo run --example client -- --socks-server 127.0.0.1:1337 --username admin --password password -a perdu.com -p 80
# Run server
RUST_LOG=debug cargo run --example server -- --listen-addr 127.0.0.1:1337 password -u admin -p password
# Test it with cURL
curl -v --proxy socks5://admin:password@127.0.0.1:1337 https://ipapi.co/json/
Thanks to all these SOCKS5 projects
$ claude mcp add fast-socks5 \
-- python -m otcore.mcp_server <graph>