Files
cheatsheet-tldr/tldr/ss-local
2025-10-30 00:20:37 +00:00

26 lines
734 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ss-local
> Run a Shadowsocks client as a SOCKS5 proxy.
> More information: <https://github.com/shadowsocks/shadowsocks-libev/blob/master/doc/ss-local.asciidoc>.
- Run a Shadowsocks proxy by specifying the host, server port, local port, password, and encryption method:
`ss-local -s {{host}} -p {{server_port}} -l {{local port}} -k {{password}} -m {{encrypt_method}}`
- Run a Shadowsocks proxy by specifying the configuration file:
`ss-local -c {{path/to/config_file.json}}`
- Use a plugin to run the proxy client:
`ss-local --plugin {{plugin_name}} --plugin-opts {{plugin_options}}`
- Enable TCP fast open:
`ss-local --fast-open`