From 5b0cd62658b21c212757975a4afd1f73431325bf Mon Sep 17 00:00:00 2001 From: Sion Kazama <13185633+KazamaSion@users.noreply.github.com> Date: Tue, 2 Jun 2020 17:59:42 +0800 Subject: [PATCH] Add info of missing option in README.md (#48) I was quite confused while reading "README.md" before I type the command for seeking what options I can use by myself. Former-commit-id: ca0bd6bc56016b982dad2b44f403178e695fcbf1 Former-commit-id: 80eeb10faa83953044414372ef9ed9fc55919484 [formerly 93bf366b635d2bdd1810bcbe9d9f13f53375e7dc] [formerly 78de71abc680fa913bd6142729ea28220c559da7 [formerly 8f3ecaa7c962f8d9d825f6acdf268712ea6ea88e [formerly 8f3ecaa7c962f8d9d825f6acdf268712ea6ea88e [formerly 8f3ecaa7c962f8d9d825f6acdf268712ea6ea88e [formerly bc30d092c6b20483fe8091bafd00533b1baa6b1f]]]]] Former-commit-id: 7594a96789cd18531a74ec6f6b847781462c4b49 [formerly fdbc036ae275c1d3ca4ce939698257b5213628a0] Former-commit-id: c2efa1c2d08b2d601be4e378d8469da01bcdb2a9 Former-commit-id: 53103b5fd4f089eba89dc7f2aae869f9e64ab2ab Former-commit-id: dff416883523cb0b9d3f2d8ce96c4fd4432cec28 Former-commit-id: f1e4745d8c85661671698dbc183ad37fcd420c38 [formerly c79766338d7314a796e91e82d3a7d4c472d65868] Former-commit-id: 335cdad5c6fc8356be9dd73590b7b50ff8598ddc --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 85cf26b..af00d87 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,22 @@ Client options: traffic from remote -u --udp forward UDP traffic instead of TCP + --udpTimeoutSec=INT When using udp forwarding, + timeout in seconds after when the + tunnel connection is closed. + Default 30sec, -1 means no timeout -p --httpProxy=USER:PASS@HOST:PORT If set, will use this proxy to connect to the server + --soMark=int (linux only) Mark network packet + with SO_MARK sockoption with the + specified value. You need to use + {root, sudo, capabilities} to run + wstunnel when using this option + --upgradePathPrefix=String Use a specific prefix that will + show up in the http path in the + upgrade request. Useful if you need + to route requests server side but + don't have vhosts Server options: --server Start a server that will forward traffic for you