From 19b4d456365ea5d44e2fa6e7447e59061f14ef51 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 15 Dec 2017 02:34:56 -0800 Subject: [PATCH] Update README.md --- README.md | 5 +++-- doc/README.zh-cn.md | 6 ++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dd13641..a32497e 100755 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ Assume your UDP is blocked or being QOS-ed or just poorly supported. Assume your # Run at client side ./udp2raw_amd64 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -a -k "passwd" --raw-mode faketcp ``` +(The above commands need to be run as root. For better security, with some extra steps, you can run udp2raw as non-root. Check [this link](https://github.com/wangyu-/udp2raw-tunnel/wiki/run-udp2raw-as-non-root) for more info ) + ###### Server Output: ![](images/output_server.PNG) ###### Client Output: @@ -93,8 +95,7 @@ To run on Android, check [Android_Guide](/doc/android_guide.md) If you have connection problems. Take a look at `--seq-mode` option. -### WARN -For long-term usage, for security reason, its strongly suggested to run udp2raw with a non-root account, though it needs some extra steps. Take a look at [this link](https://github.com/wangyu-/udp2raw-tunnel/wiki/run-udp2raw-with-non-root-account) for more info. + # Advanced Topic ### Usage diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index 2daf081..5c0ffa9 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -84,6 +84,8 @@ https://github.com/wangyu-/udp2raw-tunnel/releases 在client端运行: ./udp2raw_amd64 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -a -k "passwd" --raw-mode faketcp --cipher-mode xor ``` +(以上例子需要用root账号运行。 用非root运行udp2raw需要一些额外的步骤,具体方法请看 [这个](https://github.com/wangyu-/udp2raw-tunnel/wiki/run-udp2raw-as-non-root) 链接。用非root运行更安全) + ###### Server端输出: ![](/images/output_server.PNG) ###### Client端输出: @@ -104,10 +106,6 @@ https://github.com/wangyu-/udp2raw-tunnel/releases 如果client和server无法连接,或者连接经常断开,请看一下`--seq-mode`的用法,尝试不同的seq-mode。 -### WARN - -udp2raw可以用非root账号运行,这样更安全。 如果你打算长期使用udp2raw的话,非常建议你阅读一下 [这个](https://github.com/wangyu-/udp2raw-tunnel/wiki/run-udp2raw-with-non-root-account) 链接,学习一下如何用非root账号运行udp2raw。 - # 进阶操作说明 ### 命令选项