mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-20 13:03:50 +00:00
Fix #738
This commit is contained in:
@@ -160,23 +160,23 @@ The config file equivalent of command line options is listed as example below.
|
||||
[frame="topbot",options="header"]
|
||||
|==========================================================================
|
||||
| Command line | JSON
|
||||
| -s some.server.net | "server":"some.server.net"
|
||||
| -s some.server.net -p 1234 (client) | "server":"some.server.net:1234"
|
||||
| -p 1234 -k "PasSworD" (server) | "port_password":{"1234":"PasSworD"}
|
||||
| -p 1234 | "server_port":"1234"
|
||||
| -b 0.0.0.0 | "local_adress":"0.0.0.0"
|
||||
| -l 4321 | "local_port":"4321"
|
||||
| -k "PasSworD" | "password":"PasSworD"
|
||||
| -m "aes-256-cfb" | "method":"aes-256-cfb"
|
||||
| -t 60 | "timeout":60
|
||||
| --fast-open | "fast_open":true
|
||||
| -A | "auth":true
|
||||
| -n "/etc/nofile" | "nofile":"/etc/nofile"
|
||||
| -d "8.8.8.8" | "nameserver":"8.8.8.8"
|
||||
| -L "somedns.net:53" | "tunnel_address":"somedns.net:53"
|
||||
| -u | "mode":"tcp_and_udp"
|
||||
| -U | "mode":"udp_only"
|
||||
| no "-u" nor "-U" options (default) | "mode":"tcp_only"
|
||||
| -s some.server.net | "server": "some.server.net"
|
||||
| -s some.server.net -p 1234 (client) | "server": "some.server.net:1234"
|
||||
| -p 1234 -k "PasSworD" (server) | "port_password": {"1234":"PasSworD"}
|
||||
| -p 1234 | "server_port": "1234"
|
||||
| -b 0.0.0.0 | "local_adress": "0.0.0.0"
|
||||
| -l 4321 | "local_port": "4321"
|
||||
| -k "PasSworD" | "password": "PasSworD"
|
||||
| -m "aes-256-cfb" | "method": "aes-256-cfb"
|
||||
| -t 60 | "timeout": 60
|
||||
| --fast-open | "fast_open": true
|
||||
| -A | "auth": true
|
||||
| -n "/etc/nofile" | "nofile": "/etc/nofile"
|
||||
| -d "8.8.8.8" | "nameserver": "8.8.8.8"
|
||||
| -L "somedns.net:53" | "tunnel_address": "somedns.net:53"
|
||||
| -u | "mode": "tcp_and_udp"
|
||||
| -U | "mode": "udp_only"
|
||||
| no "-u" nor "-U" options (default) | "mode": "tcp_only"
|
||||
|============================================================================
|
||||
|
||||
EXAMPLE
|
||||
|
||||
Reference in New Issue
Block a user