Browse Source

add `tcp_tproxy` option, asciidoc update

pull/2736/head
zfl9 4 years ago
parent
commit
6d4a3ad82c
No known key found for this signature in database GPG Key ID: C6A9D94D899807DB
2 changed files with 9 additions and 0 deletions
  1. 6
      doc/shadowsocks-libev.asciidoc
  2. 3
      doc/ss-redir.asciidoc

6
doc/shadowsocks-libev.asciidoc

@ -122,6 +122,11 @@ Enable UDP relay and disable TCP relay.
+
Not available in local mode.
-T::
Use tproxy instead of redirect (for tcp).
+
Only available in redir mode.
-L <addr:port>::
Specify destination server address and port for local port forwarding.
+
@ -199,6 +204,7 @@ The config file equivalent of command line options is listed as example below.
| -u | "mode": "tcp_and_udp"
| -U | "mode": "udp_only"
| no "-u" nor "-U" options (default) | "mode": "tcp_only"
| -T | "tcp_tproxy": true
| (only in ss-manager's config) | "port_password": {"1234":"PasSworD"}
|============================================================================

3
doc/ss-redir.asciidoc

@ -95,6 +95,9 @@ TPROXY is required in redir mode. You may need root permission.
-U::
Enable UDP relay and disable TCP relay.
-T::
Use tproxy instead of redirect. (for tcp)
-6::
Resovle hostname to IPv6 address first.

Loading…
Cancel
Save