LinuxCommandLibrary

ss-local

TLDR

Start client

$ ss-local -s [server] -p [8388] -l [1080] -k [password] -m [aes-256-gcm]
copy
Use config file
$ ss-local -c [/etc/shadowsocks/config.json]
copy
Run in foreground
$ ss-local -c [config.json] -v
copy
Specify local address
$ ss-local -c [config.json] -b [127.0.0.1]
copy
UDP relay
$ ss-local -c [config.json] -u
copy

SYNOPSIS

ss-local [-s server] [-p port] [-l localport] [-k password] [-m method] [options_]

DESCRIPTION

ss-local is the Shadowsocks local client. It creates a SOCKS5 proxy that tunnels through a Shadowsocks server.
Local port receives SOCKS5 connections. Traffic is encrypted and forwarded to the server.
Encryption methods include AES-GCM and ChaCha20. Server and client must match.
UDP relay enables UDP proxy. Useful for DNS and gaming.
Config file simplifies repeated use. JSON format with all parameters.

PARAMETERS

-s SERVER

Server address.
-p PORT
Server port.
-l PORT
Local port.
-k PASSWORD
Password.
-m METHOD
Encryption method.
-c FILE
Config file.
-b ADDR
Local bind address.
-u
Enable UDP relay.
-v
Verbose output.

CAVEATS

Requires matching server configuration. Some networks detect and block. Not a VPN.

HISTORY

Shadowsocks was created by clowwindy in 2012 for circumventing internet censorship. It uses encrypted proxy connections to bypass filtering.

SEE ALSO

Copied to clipboard