Browse Source

Fix #738

pull/746/head
Max Lv 8 years ago
parent
commit
119d9b607a
1 changed files with 17 additions and 17 deletions
  1. 34
      doc/shadowsocks-libev.asciidoc

34
doc/shadowsocks-libev.asciidoc

@ -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

Loading…
Cancel
Save