diff --git a/README.md b/README.md index 88eae3f1..5f466820 100644 --- a/README.md +++ b/README.md @@ -211,42 +211,50 @@ Usage ----- ``` -usage: - ss-[local|redir|server|tunnel] - -s host name or ip address of your remote server - -p port number of your remote server - -l port number of your local server - -k password of your remote server - - - [-m ] encrypt method: table, rc4, rc4-md5 - aes-128-cfb, aes-192-cfb, aes-256-cfb, - bf-cfb, camellia-128-cfb, camellia-192-cfb, - camellia-256-cfb, cast5-cfb, des-cfb, idea-cfb, - rc2-cfb, seed-cfb, salsa20 and chacha20 - [-f ] file to store the pid - [-t ] socket timeout in seconds - [-c ] config file in json - - - [-i ] network interface to bind, - not available in redir mode - [-b ] local address to bind, - not available in server mode - [-u] enable udprelay mode - not available in redir mode - [-L :] setup a local port forwarding tunnel, - only available in tunnel mode - [-d ] setup name servers for internal DNS resolver, - only available in server mode - [-v] verbose mode - - - [--fast-open] enable TCP fast open, - only available on Linux kernel > 3.7.0 - [--acl ] config file of ACL (Access Control List) + -s host name or ip address of your remote server + + -p port number of your remote server + + -l port number of your local server + + -k password of your remote server + + [-m ] encrypt method: table, rc4, rc4-md5, + aes-128-cfb, aes-192-cfb, aes-256-cfb, + bf-cfb, camellia-128-cfb, camellia-192-cfb, + camellia-256-cfb, cast5-cfb, des-cfb, idea-cfb, + rc2-cfb, seed-cfb, salsa20 and chacha20 + + [-f ] the file path to store pid + + [-t ] socket timeout in seconds + + [-c ] the path to config file + + [-i ] network interface to bind, + not available in redir mode + + [-b ] local address to bind, + not available in server mode + + [-u] enable udprelay mode, + not available in redir mode + + [-L :] specify destination server address and port + for local port forwarding, + only available in tunnel mode + + [-d ] setup name servers for internal DNS resolver, + only available in server mode + + [--fast-open] enable TCP fast open, + only available on Linux kernel > 3.7.0 + + [--acl ] config file of ACL (Access Control List) + + [-v] verbose mode notes: