From 211fcee8dba2c9c421076c8e27287f5baee65130 Mon Sep 17 00:00:00 2001 From: wangyu- <wangyucn@gmail.com> Date: Fri, 17 Nov 2017 08:51:05 -0800 Subject: [PATCH 1/5] Update README.zh-cn.md --- doc/README.zh-cn.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index 0cc869a..d8fd7c9 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -69,10 +69,10 @@ https://github.com/wangyu-/UDPspeeder/releases 假设你有一个server,ip为44.55.66.77,有一个服务监听在udp 7777端口。 假设你需要加速本地到44.55.66.77:7777的流量。 ``` 在server端运行: -./speederv2 -s -l0.0.0.0:4096 -r127.0.0.1:7777 -f20:10 -k "passwd" +./speederv2 -s -l0.0.0.0:4096 -r127.0.0.1:7777 -f20:10 -k "passwd" --mode 0 在client端运行: -./speederv2 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k "passwd" +./speederv2 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k "passwd" --mode 0 ``` 现在client和server之间建立起了tunnel。想要连接44.55.66.77:7777,只需要连接 127.0.0.1:3333。来回的所有的udp流量会被加速。 @@ -83,7 +83,7 @@ https://github.com/wangyu-/UDPspeeder/releases `-k` 指定一个字符串,开启简单的异或加密 -如果需要更省流量或更高的下载速度,请加上`--mode 0`,`--mode 0`模式会牺牲一点点的延迟(默认最多8ms,可调)换取更低的流量消耗和更高的吞吐率。另外`--mode 0`模式可以解决MTU问题。 +推荐使用`--mode 0`选项,在`--mode 0`模式下不会有MTU问题。 ###### 注意 如果你没有使用`--mode 0`模式,那么你需要为UDPspeeder加速的应用设置好MTU(不是在UDPspeeder中,是在被加速的应用中),建议设置为1200。 From d0ebd67dbde33b0c930d0dfe050a4ca3c3c61127 Mon Sep 17 00:00:00 2001 From: wangyu- <wangyucn@gmail.com> Date: Fri, 17 Nov 2017 08:54:30 -0800 Subject: [PATCH 2/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e1c5aa0..d6169d9 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,10 @@ Assume your server ip is 44.55.66.77, you have a service listening on udp port 7 ```bash # Run at server side: -./speederv2 -s -l0.0.0.0:4096 -r 127.0.0.1:7777 -f20:10 -k "passwd" +./speederv2 -s -l0.0.0.0:4096 -r 127.0.0.1:7777 -f20:10 -k "passwd" --mode 0 # Run at client side -./speederv2 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k "passwd" +./speederv2 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k "passwd" --mode 0 ``` Now connecting to UDP port 3333 at the client side is equivalent to connecting to port 7777 at the server side, and the connection is boosted by UDPspeeder. @@ -86,7 +86,7 @@ Now connecting to UDP port 3333 at the client side is equivalent to connecting t `-k` enables simple XOR encryption -To run stably, pay attention to MTU. +Its suggested to use `--mode 0` option, otherwise you have to pay attention to MTU problem. # Advanced Topic ### Full Options From e2c2f2dfec22781374cc1bab214ba62a10d549ed Mon Sep 17 00:00:00 2001 From: wangyu- <wangyucn@gmail.com> Date: Fri, 17 Nov 2017 09:12:30 -0800 Subject: [PATCH 3/5] Update README.zh-cn.md --- doc/README.zh-cn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index d8fd7c9..4c6ad0b 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -83,7 +83,7 @@ https://github.com/wangyu-/UDPspeeder/releases `-k` 指定一个字符串,开启简单的异或加密 -推荐使用`--mode 0`选项,在`--mode 0`模式下不会有MTU问题。 +推荐使用`--mode 0`选项,否则你可能需要考虑MTU问题。 ###### 注意 如果你没有使用`--mode 0`模式,那么你需要为UDPspeeder加速的应用设置好MTU(不是在UDPspeeder中,是在被加速的应用中),建议设置为1200。 From 2929eead0e080bc666e8e74ce38f6867e0902651 Mon Sep 17 00:00:00 2001 From: wangyu- <wangyucn@gmail.com> Date: Fri, 17 Nov 2017 09:46:52 -0800 Subject: [PATCH 4/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6169d9..e1c5aa0 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,10 @@ Assume your server ip is 44.55.66.77, you have a service listening on udp port 7 ```bash # Run at server side: -./speederv2 -s -l0.0.0.0:4096 -r 127.0.0.1:7777 -f20:10 -k "passwd" --mode 0 +./speederv2 -s -l0.0.0.0:4096 -r 127.0.0.1:7777 -f20:10 -k "passwd" # Run at client side -./speederv2 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k "passwd" --mode 0 +./speederv2 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -f20:10 -k "passwd" ``` Now connecting to UDP port 3333 at the client side is equivalent to connecting to port 7777 at the server side, and the connection is boosted by UDPspeeder. @@ -86,7 +86,7 @@ Now connecting to UDP port 3333 at the client side is equivalent to connecting t `-k` enables simple XOR encryption -Its suggested to use `--mode 0` option, otherwise you have to pay attention to MTU problem. +To run stably, pay attention to MTU. # Advanced Topic ### Full Options From 017e851c2dddefe728e1993e07ec79384cd7935b Mon Sep 17 00:00:00 2001 From: wangyu- <wangyucn@gmail.com> Date: Fri, 17 Nov 2017 09:50:58 -0800 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1c5aa0..95c5dc7 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Now connecting to UDP port 3333 at the client side is equivalent to connecting t `-k` enables simple XOR encryption -To run stably, pay attention to MTU. +To run stably, pay attention to MTU. You can also try `--mode 0`,there will be no MTU problem in this mode. # Advanced Topic ### Full Options