#socks5-proxy #shadowsocks #firewall #socks5

shadowsocks-service

shadowsocks is a fast tunnel proxy that helps you bypass firewalls

65 stable releases

Uses new Rust 2024

1.24.0 Dec 11, 2025
1.23.6 Jul 5, 2025
1.23.4 May 12, 2025
1.23.0 Mar 19, 2025
1.10.2 Mar 28, 2021

#5 in #shadowsocks

Download history 403/week @ 2026-02-18 351/week @ 2026-02-25 5246/week @ 2026-03-04 549/week @ 2026-03-11 487/week @ 2026-03-18 488/week @ 2026-03-25 2948/week @ 2026-04-01 447/week @ 2026-04-08 411/week @ 2026-04-15 421/week @ 2026-04-22 289/week @ 2026-04-29 926/week @ 2026-05-06 1330/week @ 2026-05-13 630/week @ 2026-05-20 696/week @ 2026-05-27 755/week @ 2026-06-03

3,654 downloads per month
Used in 2 crates

MIT license

3MB
85K SLoC

Shadowsocks Service

https://shadowsocks.org/

shadowsocks is a fast tunnel proxy that helps you bypass firewalls.

Usage

Build shadowsocks and you will get at least 2 binaries: sslocal and ssserver

Write your servers in a configuration file. Format is defined in shadowsocks' documentation

For example:

{
   "server": "my_server_ip",
   "server_port": 8388,
   "local_address": "127.0.0.1",
   "local_port": 1080,
   "password": "mypassword",
   "timeout": 300,
   "method": "aes-256-cfb"
}

Save it in file shadowsocks.json and run local proxy server with

cargo run --bin sslocal -- -c shadowsocks.json

Now you can use SOCKS5 protocol to proxy your requests, for example:

curl --socks5-hostname 127.0.0.1:1080 https://www.google.com

On the server side, you can run the server with

cargo run --bin ssserver -- -c shadowsocks.json

Server should use the same configuration file as local, except the listen addresses for servers must be socket addresses.

Of course, you can also use cargo install to install binaries.


shadowsocks-service

License crates.io docs.rs

This is a port of shadowsocks.

shadowsocks is a fast tunnel proxy that helps you bypass firewalls.

Features

  • Local Server

    • SOCKS 5
    • SOCKS 4/4a (local-socks4)
    • HTTP (local-http)
    • Tunnel (local-tunnel)
    • Redir, aka Transparent Proxy (local-redir)
    • DNS (local-dns)
    • Tun (local-tun)
    • FakeDNS (local-fake-dns)
    • SIP008 Online Config (local-online-config)
  • Server

  • Manager

Dependencies

~11–43MB
~700K SLoC