add tcp_tproxy option, asciidoc update

This commit is contained in:
zfl9
2020-07-18 17:08:56 +08:00
parent 37cdf8d45a
commit 6d4a3ad82c
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -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
View File
@@ -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.