Update README.md

This commit is contained in:
wangyu- 2017-12-15 02:34:56 -08:00
parent c03177b370
commit 19b4d45636
2 changed files with 5 additions and 6 deletions

@ -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

@ -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。
# 进阶操作说明
### 命令选项