From 0f756e31667b67c80a5af41fb15b3e880196a897 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Wed, 21 Feb 2018 13:48:28 +0800 Subject: [PATCH 1/9] added guide for running udp2raw client on windows/mac --- doc/README.zh-cn.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index 5c0ffa9..8b7a659 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -24,13 +24,11 @@ Release中提供了`amd64`、`x86`、`arm`、`mips_be`、`mips_le`的预编译bi ##### 对于windows和mac用户: -在虚拟机中可以稳定使用(udp2raw跑在Linux里,其他应用照常跑在window里;确保虚拟机网卡工作在桥接模式)。可以使用[这个](https://github.com/wangyu-/udp2raw-tunnel/releases/download/20171108.0/lede-17.01.2-x86_virtual_machine_image.zip)虚拟机镜像,大小只有7.5mb,免去在虚拟机里装系统的麻烦;虚拟机自带ssh server,可以scp拷贝文件,可以ssh进去,可以复制粘贴,root密码123456。 - -如果你的网络不允许桥接,也是有办法用的,具体方法请看wiki。 +https://github.com/wangyu-/udp2raw-tunnel/wiki/在windows-mac上运行udp2raw客户端,带图形界面 ##### 对于ios和游戏主机用户: -可以把udp2raw运行在局域网的其他机器上。最好的办法是买个能刷OpenWrt/LEDE/梅林的路由器,把udp2raw运行在路由器上。 +可以把udp2raw运行在局域网的其他机器/虚拟机上。最好的办法是买个能刷OpenWrt/LEDE/梅林的路由器,把udp2raw运行在路由器上。 # 功能特性 ### 把udp流量伪装成tcp /icmp From 96b57df4e2bbba87ad1941ec6dd549421f16254a Mon Sep 17 00:00:00 2001 From: wangyu- Date: Wed, 21 Feb 2018 14:07:32 +0800 Subject: [PATCH 2/9] Update README.zh-cn.md --- doc/README.zh-cn.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index 8b7a659..297dc09 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -24,6 +24,10 @@ Release中提供了`amd64`、`x86`、`arm`、`mips_be`、`mips_le`的预编译bi ##### 对于windows和mac用户: +可以把udp2raw运行在虚拟机上(网络必须是桥接模式)。 + +另外可以参考: + https://github.com/wangyu-/udp2raw-tunnel/wiki/在windows-mac上运行udp2raw客户端,带图形界面 ##### 对于ios和游戏主机用户: From b0f62e35cc12d76adb24bcf4831e46f9d8c70bf1 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 22 Feb 2018 03:30:27 +0800 Subject: [PATCH 3/9] Update README.zh-cn.md --- doc/README.zh-cn.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index 297dc09..8d9040c 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -292,3 +292,9 @@ Transparently tunnel your IP traffic through ICMP echo and reply packets. https://github.com/DhavalKapil/icmptunnel +# wiki + +更多内容请看 wiki: + +https://github.com/wangyu-/udp2raw-tunnel/wiki + From a170650210228d61c94ede11eec149cac2887285 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 22 Feb 2018 03:32:32 +0800 Subject: [PATCH 4/9] Update README.md --- README.md | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 88c5922..747cb87 100755 --- a/README.md +++ b/README.md @@ -51,22 +51,6 @@ For example, if you use udp2raw + OpenVPN, OpenVPN won't lose connection after a ### Keywords `Bypass UDP QoS` `Bypass UDP Blocking` `Bypass OpenVPN TCP over TCP problem` `OpenVPN over ICMP` `UDP to ICMP tunnel` `UDP to TCP tunnel` `UDP over ICMP` `UDP over TCP` -# Frequently Asked Questions -### Q: What is the advantage of using udp2raw FakeTCP mode,why not use a TCP-based VPN(such as OpenVPN TCP mode)? -Answer: **TCP doesnt allow real-time/out-of-order delivery**. **If you use OpenVPN TCP mode to turn UDP traffic into TCP,there will be latency issue**:the loss of a single packet blocks all following packet until re-transmission is done. This will cause unacceptable delay for gaming and voice chatting. - -**TCP also has re-transmission and congestion control which cant be disabled.** UDP programs usualy want to control packet sending rate by themselves. If you use OpenVPN TCP mode this cant be done because of the congestion control of underlying TCP protocol. Further more,with the re-transmission of underlying TCP,**if you send too many udp packets via an OpenVPN TCP connection,the connection will become completely unusable for a while**(It will eventually recover as most of the re-transmission is done,but it wont be very soon). - -Those issues exist for almost all TCP-based VPNs. - -For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly by using raw socket. It supports real-time/out-of-order delivery,there is no re-transmission and congestion control. **Udp2raw doesnt have all above issues**. - -### Q: Is udp2raw designed for replacing VPN? -Answer: No. Udp2raw is designed for bypassing UDP restrictions. It doesnt have all of the features a VPN has(such as transparently redirect all traffic). - -Instead of replacing VPN,udp2raw can be used with any UDP-based VPN together to grant UDP-based VPN the ablity of bypassing UDP restrictions,while not having the performance issue involved by a TCP-based VPN. Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. - - # Getting Started ### Installing Download binary release from https://github.com/wangyu-/udp2raw-tunnel/releases @@ -287,3 +271,9 @@ https://arxiv.org/abs/1103.0463 http://korz.cs.yale.edu/2009/tng/papers/pfldnet10.pdf https://pdfs.semanticscholar.org/9e6f/e2306f4385b4eb5416d1fcab16e9361d6ba3.pdf + +### wiki + +Check wiki for more info: + +https://github.com/wangyu-/udp2raw-tunnel/wiki From 5a6a2682bc92ce99c17b8e9da129781a99c16b23 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 22 Feb 2018 03:32:43 +0800 Subject: [PATCH 5/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 747cb87..ad4f281 100755 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ http://korz.cs.yale.edu/2009/tng/papers/pfldnet10.pdf https://pdfs.semanticscholar.org/9e6f/e2306f4385b4eb5416d1fcab16e9361d6ba3.pdf -### wiki +# wiki Check wiki for more info: From a02c22cb3d4e57fdd18a5ab0acc2ab57f98aa3d0 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 22 Feb 2018 03:50:42 +0800 Subject: [PATCH 6/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ad4f281..d5e96d3 100755 --- a/README.md +++ b/README.md @@ -226,7 +226,7 @@ raw_mode: faketcp cipher_mode: aes128cbc  auth_mode: md5 4. Supports almost any UDP-based VPN -More details at [openvpn+udp2raw_guide](/doc/openvpn_guide.md) +More details at [openvpn+udp2raw_guide](https://github.com/wangyu-/udp2raw-tunnel/wiki/udp2raw-openvpn-config-guide) ## Speed-up tcp connection via raw traffic by using udp2raw+kcptun kcptun is a tcp connection speed-up program,it speeds-up tcp connection by using kcp protocol on-top of udp.by using udp2raw,you can use kcptun while udp is QoSed or blocked. (kcptun, https://github.com/xtaci/kcptun) From 65b2d7bc1c6530dce9f9f0bfa04985eac3beac47 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 22 Feb 2018 04:02:02 +0800 Subject: [PATCH 7/9] Update README.zh-cn.md --- doc/README.zh-cn.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/README.zh-cn.md b/doc/README.zh-cn.md index 8d9040c..af4de4d 100644 --- a/doc/README.zh-cn.md +++ b/doc/README.zh-cn.md @@ -10,6 +10,8 @@ udp2raw tunnel,通过raw socket给UDP包加上TCP或ICMP header,进而绕过 [udp2raw+finalspeed step_by_step教程](finalspeed_step_by_step.md) +[udp2raw wiki](https://github.com/wangyu-/udp2raw-tunnel/wiki) + **提示:** udp2raw不是加速器,只是一个帮助你绕过UDP限制的工具。如果你需要UDP加速器,请看UDPspeeder。 From af2513cbc0e120248c3860e0a0310952f56f2288 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 22 Feb 2018 04:09:08 +0800 Subject: [PATCH 8/9] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d5e96d3..5b74421 100755 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ When used alone,udp2raw tunnels only UDP traffic. Nevertheless,if you used udp2r [简体中文](/doc/README.zh-cn.md)(内容更丰富) +[udp2raw wiki](https://github.com/wangyu-/udp2raw-tunnel/wiki) + # Support Platforms Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. From 1f313f1c078bad291b4a58155702317d29842e3b Mon Sep 17 00:00:00 2001 From: wangyu- Date: Fri, 23 Feb 2018 16:39:41 +0800 Subject: [PATCH 9/9] Update kcptun_step_by_step.md --- doc/kcptun_step_by_step.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/kcptun_step_by_step.md b/doc/kcptun_step_by_step.md index dc70de8..9eb0317 100644 --- a/doc/kcptun_step_by_step.md +++ b/doc/kcptun_step_by_step.md @@ -6,7 +6,9 @@ ### 环境要求 两边的主机都是linux,有root权限。 可以是openwrt路由器或树莓派,也可以是root了的android。 -(windows和mac可以用release里发布的预装了udp2raw的openwrt_x86虚拟机镜像,容量4.4mb,开机即用) +在windows/mac上运行udp2raw可以参考这个教程: + +https://github.com/wangyu-/udp2raw-tunnel/wiki/在windows-mac上运行udp2raw客户端,带图形界面 ### 安装