A fast tunnel proxy that helps you bypass firewalls. (https://shadowsocks.org)
Usage: ssserver [OPTIONS]
Options:
-c, --config <CONFIG>
Shadowsocks configuration file (https://shadowsocks.org/doc/configs.html)
-b, --outbound-bind-addr <OUTBOUND_BIND_ADDR>
Bind address, outbound socket will bind this address
--outbound-bind-interface <OUTBOUND_BIND_INTERFACE>
Set SO_BINDTODEVICE / IP_BOUND_IF / IP_UNICAST_IF option for outbound socket
--outbound-proxy <OUTBOUND_PROXY>
Outbound proxy hop for ssserver TCP relay; supports socks5://, http:// and https:// with
optional user:pass@, repeat in order for chaining
-s, --server-addr <SERVER_ADDR>
Server address
-k, --password <PASSWORD>
Server's password
-m, --encrypt-method <ENCRYPT_METHOD>
Server's encryption method [possible values: plain, none, table, rc4-md5, aes-128-ctr,
aes-192-ctr, aes-256-ctr, aes-128-cfb, aes-128-cfb1, aes-128-cfb8, aes-128-cfb128,
aes-192-cfb, aes-192-cfb1, aes-192-cfb8, aes-192-cfb128, aes-256-cfb, aes-256-cfb1,
aes-256-cfb8, aes-256-cfb128, aes-128-ofb, aes-192-ofb, aes-256-ofb, camellia-128-ctr,
camellia-192-ctr, camellia-256-ctr, camellia-128-cfb, camellia-128-cfb1,
camellia-128-cfb8, camellia-128-cfb128, camellia-192-cfb, camellia-192-cfb1,
camellia-192-cfb8, camellia-192-cfb128, camellia-256-cfb, camellia-256-cfb1,
camellia-256-cfb8, camellia-256-cfb128, camellia-128-ofb, camellia-192-ofb,
camellia-256-ofb, rc4, chacha20-ietf, aes-128-gcm, aes-256-gcm, chacha20-ietf-poly1305,
2022-blake3-aes-128-gcm, 2022-blake3-aes-256-gcm, 2022-blake3-chacha20-poly1305]
--timeout <TIMEOUT>
Server's timeout seconds for TCP relay
-u
Server mode UDP_ONLY
-U
Server mode TCP_AND_UDP
--plugin <PLUGIN>
SIP003 (https://shadowsocks.org/doc/sip003.html) plugin
--plugin-mode <PLUGIN_MODE>
SIP003/SIP003u plugin mode, must be one of `tcp_only` (default), `udp_only` and
`tcp_and_udp`
--plugin-opts <PLUGIN_OPT>
Set SIP003 plugin options
--manager-addr <MANAGER_ADDR>
ShadowSocks Manager (ssmgr) address, could be "IP:Port", "Domain:Port" or
"/path/to/unix.sock"
--acl <ACL>
Path to ACL (Access Control List)
--dns <DNS>
DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or
unix:///path/to/dns, or predefined keys like "google", "cloudflare"
--dns-cache-size <DNS_CACHE_SIZE>
DNS cache size in number of records. Works when trust-dns DNS backend is enabled.
--tcp-no-delay
Set TCP_NODELAY option for sockets
--tcp-fast-open
Enable TCP Fast Open (TFO)
--tcp-keep-alive <TCP_KEEP_ALIVE>
Set TCP keep alive timeout seconds
--tcp-multipath
Enable Multipath-TCP (MPTCP)
--udp-timeout <UDP_TIMEOUT>
Timeout seconds for UDP relay
--udp-max-associations <UDP_MAX_ASSOCIATIONS>
Maximum associations to be kept simultaneously for UDP relay
--inbound-send-buffer-size <INBOUND_SEND_BUFFER_SIZE>
Set inbound sockets' SO_SNDBUF option
--inbound-recv-buffer-size <INBOUND_RECV_BUFFER_SIZE>
Set inbound sockets' SO_RCVBUF option
--outbound-send-buffer-size <OUTBOUND_SEND_BUFFER_SIZE>
Set outbound sockets' SO_SNDBUF option
--outbound-recv-buffer-size <OUTBOUND_RECV_BUFFER_SIZE>
Set outbound sockets' SO_RCVBUF option
-6
Resolve hostname to IPv6 address first
-v...
Set log level
--log-without-time
Log without datetime prefix
-d, --daemonize
Daemonize
--daemonize-pid <DAEMONIZE_PID_PATH>
File path to store daemonized process's PID
-n, --nofile <NOFILE>
Set RLIMIT_NOFILE with both soft and hard limit
--outbound-fwmark <OUTBOUND_FWMARK>
Set SO_MARK option for outbound sockets
--single-threaded
Run the program all in one thread
--worker-threads <WORKER_THREADS>
Sets the number of worker threads the `Runtime` will use
-a, --user <USER>
Run as another user
-h, --help
Print help
-V, --version
Print version
Options (39)
| Option | Description | Source |
|---|
-c, --config CONFIG | Shadowsocks configuration file (https://shadowsocks.org/doc/configs.html) | help |
-b, --outbound-bind-addr OUTBOUND_BIND_ADDR | Bind address, outbound socket will bind this address | help |
--outbound-bind-interface OUTBOUND_BIND_INTERFACE | Set SO_BINDTODEVICE / IP_BOUND_IF / IP_UNICAST_IF option for outbound socket | help |
--outbound-proxy OUTBOUND_PROXY | Outbound proxy hop for ssserver TCP relay; | help |
-s, --server-addr SERVER_ADDR | Server address | help |
-k, --password PASSWORD | Server's password | help |
-m, --encrypt-method ENCRYPT_METHOD | Server's encryption method [possible values: plain, none, table, rc4-md5, aes-128-ctr, aes-192-ctr, aes-256-ctr, aes-128-cfb, aes-128-cfb1, aes-128-cfb8, aes-128-cfb128, aes-192-cfb, aes-192-cfb1,… | help |
--timeout TIMEOUT | Server's timeout seconds for TCP relay | help |
-u | Server mode UDP_ONLY | help |
-U | Server mode TCP_AND_UDP | help |
--plugin PLUGIN | SIP003 (https://shadowsocks.org/doc/sip003.html) plugin | help |
--plugin-mode PLUGIN_MODE | SIP003/SIP003u plugin mode, must be one of `tcp_only` (default), `udp_only` and `tcp_and_udp` | help |
--plugin-opts PLUGIN_OPT | Set SIP003 plugin options | help |
--manager-addr MANAGER_ADDR | ShadowSocks Manager (ssmgr) address, could be "IP:Port", "Domain:Port" or "/path/to/unix.sock" | help |
--acl ACL | Path to ACL (Access Control List) | help |
--dns DNS | DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like "google", "cloudflare" | help |
--dns-cache-size DNS_CACHE_SIZE | DNS cache size in number of records. | help |
--tcp-no-delay | Set TCP_NODELAY option for sockets | help |
--tcp-fast-open | Enable TCP Fast Open (TFO) | help |
--tcp-keep-alive TCP_KEEP_ALIVE | Set TCP keep alive timeout seconds | help |
--tcp-multipath | Enable Multipath-TCP (MPTCP) | help |
--udp-timeout UDP_TIMEOUT | Timeout seconds for UDP relay | help |
--udp-max-associations UDP_MAX_ASSOCIATIONS | Maximum associations to be kept simultaneously for UDP relay | help |
--inbound-send-buffer-size INBOUND_SEND_BUFFER_SIZE | Set inbound sockets' SO_SNDBUF option | help |
--inbound-recv-buffer-size INBOUND_RECV_BUFFER_SIZE | Set inbound sockets' SO_RCVBUF option | help |
--outbound-send-buffer-size OUTBOUND_SEND_BUFFER_SIZE | Set outbound sockets' SO_SNDBUF option | help |
--outbound-recv-buffer-size OUTBOUND_RECV_BUFFER_SIZE | Set outbound sockets' SO_RCVBUF option | help |
-6 | Resolve hostname to IPv6 address first | help |
-v | Set log level | help |
--log-without-time | Log without datetime prefix | help |
-d, --daemonize | Daemonize | help |
--daemonize-pid DAEMONIZE_PID_PATH | File path to store daemonized process's PID | help |
-n, --nofile NOFILE | Set RLIMIT_NOFILE with both soft and hard limit | help |
--outbound-fwmark OUTBOUND_FWMARK | Set SO_MARK option for outbound sockets | help |
--single-threaded | Run the program all in one thread | help |
--worker-threads WORKER_THREADS | Sets the number of worker threads the `Runtime` will use | help |
-a, --user USER | Run as another user | help |
-h, --help | Print help | help |
-V, --version | Print version | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.