mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-31 20:29:36 +08:00
Merge branch 'master' of https://github.com/wangyu-/udp2raw-tunnel
This commit is contained in:
commit
91a015b8a8
@ -1,5 +1,5 @@
|
|||||||
# Udp2raw-tunnel
|
# Udp2raw-tunnel
|
||||||
![image2](images/image2.PNG)
|
![image0](images/image0.PNG)
|
||||||
|
|
||||||
An Encrpyted,Anti-Replay,Multiplexed Udp Tunnel,tunnels udp traffic through raw socket
|
An Encrpyted,Anti-Replay,Multiplexed Udp Tunnel,tunnels udp traffic through raw socket
|
||||||
|
|
||||||
|
@ -34,15 +34,21 @@ server端也会有类似输出,显示server_ready:
|
|||||||
![image](kcptun_step_by_step/Capture3.PNG)
|
![image](kcptun_step_by_step/Capture3.PNG)
|
||||||
|
|
||||||
3.在远程服务器运行 kcp server
|
3.在远程服务器运行 kcp server
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
./server_linux_amd64 -t "127.0.0.1:22" -l ":4000" -mode fast2 -mtu 1300
|
./server_linux_amd64 -t "127.0.0.1:22" -l ":4000" -mode fast2 -mtu 1300
|
||||||
```
|
```
|
||||||
|
-mtu 1300很重要,或者设置成更小。
|
||||||
![image](kcptun_step_by_step/Capture6.PNG)
|
![image](kcptun_step_by_step/Capture6.PNG)
|
||||||
|
|
||||||
4.在本地运行
|
4.在本地运行
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
./client_linux_amd64 -r "45.66.77.88:4000" -l ":3322" -mode fast2 -mtu 1300
|
./client_linux_amd64 -r "127.0.0.1:4000" -l ":3322" -mode fast2 -mtu 1300
|
||||||
```
|
```
|
||||||
|
-mtu 1300很重要,或者设置成更小。
|
||||||
![image](kcptun_step_by_step/Capture7.PNG)
|
![image](kcptun_step_by_step/Capture7.PNG)
|
||||||
|
|
||||||
5.所有准备工作已经做好,在本地运行
|
5.所有准备工作已经做好,在本地运行
|
||||||
|
BIN
images/image0.PNG
Normal file
BIN
images/image0.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Loading…
x
Reference in New Issue
Block a user