OS Manuals

/usr/bin/ssserver

From shadowsocks-rust-ssserver 1.25.0-r7 (enterprise-packages), captured 2026-11-08 by running ssserver --help (exit 0). permalink

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)
OptionDescriptionSource
-c, --config CONFIGShadowsocks configuration file (https://shadowsocks.org/doc/configs.html)help
-b, --outbound-bind-addr OUTBOUND_BIND_ADDRBind address, outbound socket will bind this addresshelp
--outbound-bind-interface OUTBOUND_BIND_INTERFACESet SO_BINDTODEVICE / IP_BOUND_IF / IP_UNICAST_IF option for outbound sockethelp
--outbound-proxy OUTBOUND_PROXYOutbound proxy hop for ssserver TCP relay;help
-s, --server-addr SERVER_ADDRServer addresshelp
-k, --password PASSWORDServer's passwordhelp
-m, --encrypt-method ENCRYPT_METHODServer'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 TIMEOUTServer's timeout seconds for TCP relayhelp
-uServer mode UDP_ONLYhelp
-UServer mode TCP_AND_UDPhelp
--plugin PLUGINSIP003 (https://shadowsocks.org/doc/sip003.html) pluginhelp
--plugin-mode PLUGIN_MODESIP003/SIP003u plugin mode, must be one of `tcp_only` (default), `udp_only` and `tcp_and_udp`help
--plugin-opts PLUGIN_OPTSet SIP003 plugin optionshelp
--manager-addr MANAGER_ADDRShadowSocks Manager (ssmgr) address, could be "IP:Port", "Domain:Port" or "/path/to/unix.sock"help
--acl ACLPath to ACL (Access Control List)help
--dns DNSDNS 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_SIZEDNS cache size in number of records.help
--tcp-no-delaySet TCP_NODELAY option for socketshelp
--tcp-fast-openEnable TCP Fast Open (TFO)help
--tcp-keep-alive TCP_KEEP_ALIVESet TCP keep alive timeout secondshelp
--tcp-multipathEnable Multipath-TCP (MPTCP)help
--udp-timeout UDP_TIMEOUTTimeout seconds for UDP relayhelp
--udp-max-associations UDP_MAX_ASSOCIATIONSMaximum associations to be kept simultaneously for UDP relayhelp
--inbound-send-buffer-size INBOUND_SEND_BUFFER_SIZESet inbound sockets' SO_SNDBUF optionhelp
--inbound-recv-buffer-size INBOUND_RECV_BUFFER_SIZESet inbound sockets' SO_RCVBUF optionhelp
--outbound-send-buffer-size OUTBOUND_SEND_BUFFER_SIZESet outbound sockets' SO_SNDBUF optionhelp
--outbound-recv-buffer-size OUTBOUND_RECV_BUFFER_SIZESet outbound sockets' SO_RCVBUF optionhelp
-6Resolve hostname to IPv6 address firsthelp
-vSet log levelhelp
--log-without-timeLog without datetime prefixhelp
-d, --daemonizeDaemonizehelp
--daemonize-pid DAEMONIZE_PID_PATHFile path to store daemonized process's PIDhelp
-n, --nofile NOFILESet RLIMIT_NOFILE with both soft and hard limithelp
--outbound-fwmark OUTBOUND_FWMARKSet SO_MARK option for outbound socketshelp
--single-threadedRun the program all in one threadhelp
--worker-threads WORKER_THREADSSets the number of worker threads the `Runtime` will usehelp
-a, --user USERRun as another userhelp
-h, --helpPrint helphelp
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.