mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
Update README.md
This commit is contained in:
parent
c03177b370
commit
19b4d45636
@ -81,6 +81,8 @@ Assume your UDP is blocked or being QOS-ed or just poorly supported. Assume your
|
|||||||
# Run at client side
|
# Run at client side
|
||||||
./udp2raw_amd64 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -a -k "passwd" --raw-mode faketcp
|
./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:
|
###### Server Output:
|
||||||
![](images/output_server.PNG)
|
![](images/output_server.PNG)
|
||||||
###### Client Output:
|
###### 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.
|
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
|
# Advanced Topic
|
||||||
### Usage
|
### Usage
|
||||||
|
@ -84,6 +84,8 @@ https://github.com/wangyu-/udp2raw-tunnel/releases
|
|||||||
在client端运行:
|
在client端运行:
|
||||||
./udp2raw_amd64 -c -l0.0.0.0:3333 -r44.55.66.77:4096 -a -k "passwd" --raw-mode faketcp --cipher-mode xor
|
./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端输出:
|
###### Server端输出:
|
||||||
![](/images/output_server.PNG)
|
![](/images/output_server.PNG)
|
||||||
###### Client端输出:
|
###### Client端输出:
|
||||||
@ -104,10 +106,6 @@ https://github.com/wangyu-/udp2raw-tunnel/releases
|
|||||||
|
|
||||||
如果client和server无法连接,或者连接经常断开,请看一下`--seq-mode`的用法,尝试不同的seq-mode。
|
如果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。
|
|
||||||
|
|
||||||
# 进阶操作说明
|
# 进阶操作说明
|
||||||
|
|
||||||
### 命令选项
|
### 命令选项
|
||||||
|
Loading…
x
Reference in New Issue
Block a user