Browse Source

doc: refine document for argument `-b`, fix #2353

pull/2358/head
amphineko 5 years ago
parent
commit
e509a19698
6 changed files with 23 additions and 6 deletions
  1. 7
      README.md
  2. 10
      doc/shadowsocks-libev.asciidoc
  3. 3
      doc/ss-local.asciidoc
  4. 3
      doc/ss-redir.asciidoc
  5. 3
      doc/ss-server.asciidoc
  6. 3
      doc/ss-tunnel.asciidoc

7
README.md

@ -408,6 +408,13 @@ you may refer to the man pages of the applications, respectively.
(not available in redir mode) (not available in redir mode)
[-b <local_address>] Local address to bind. [-b <local_address>] Local address to bind.
For servers: Specify the local address to use
while this server is making outbound
connections to remote servers on behalf of the
clients.
For clients: Specify the local address to use
while this client is making outbound
connections to the server.
[-u] Enable UDP relay. [-u] Enable UDP relay.
(TPROXY is required in redir mode) (TPROXY is required in redir mode)

10
doc/shadowsocks-libev.asciidoc

@ -101,9 +101,15 @@ multi-interface environment.
Not available in redir mode. Not available in redir mode.
-b <local_address>:: -b <local_address>::
Specify local address to bind.
Specify the local address to bind.
+ +
Not available in server nor manager mode.
For servers: Specify the local address to use while this server is making
outbound connections to remote servers on behalf of the clients.
+
For clients: Specify the local address to use while this client is making
outbound connections to the server.
+
Not available in manager mode.
-u:: -u::
Enable UDP relay. Enable UDP relay.

3
doc/ss-local.asciidoc

@ -93,7 +93,8 @@ That results the traffic go out through eth1, but not lo nor eth0.
This option is useful to control traffic in multi-interface environment. This option is useful to control traffic in multi-interface environment.
-b <local_address>:: -b <local_address>::
Specify local address to bind.
Specify the local address to use while this client is making outbound
connections to the server.
-u:: -u::
Enable UDP relay. Enable UDP relay.

3
doc/ss-redir.asciidoc

@ -83,7 +83,8 @@ Specify max number of open files.
Only available on Linux. Only available on Linux.
-b <local_address>:: -b <local_address>::
Specify local address to bind.
Specify the local address to use while this client is making outbound
connections to the server.
-u:: -u::
Enable UDP relay. Enable UDP relay.

3
doc/ss-server.asciidoc

@ -88,7 +88,8 @@ That results the traffic go out through eth1, but not lo nor eth0.
This option is useful to control traffic in multi-interface environment. This option is useful to control traffic in multi-interface environment.
-b <local_address>:: -b <local_address>::
Specify local address to bind.
Specify the local address to use while this server is making outbound
connections to remote servers on behalf of the clients.
-u:: -u::
Enable UDP relay. Enable UDP relay.

3
doc/ss-tunnel.asciidoc

@ -92,7 +92,8 @@ That results the traffic go out through eth1, but not lo nor eth0.
This option is useful to control traffic in multi-interface environment. This option is useful to control traffic in multi-interface environment.
-b <local_address>:: -b <local_address>::
Specify local address to bind.
Specify the local address to use while this client is making outbound
connections to the server.
-u:: -u::
Enable UDP relay. Enable UDP relay.

Loading…
Cancel
Save