Update README.md

This commit is contained in:
wangyu- 2017-09-01 09:34:13 -07:00 committed by GitHub
parent 0cc72802e6
commit 67cb1356e4

View File

@ -6,6 +6,14 @@ A Tunnel which turns UDP Traffic into Encrypted FakeTCP/UDP/ICMP Traffic by usin
It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVPN).Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info. It can tunnel any traffic when used together with a UDP-based VPN(such as OpenVPN).Check [this link](https://github.com/wangyu-/udp2raw-tunnel#tunneling-any-traffic-via-raw-traffic-by-using-udp2raw-openvpn) for more info.
[简体中文](/doc/README.zh-cn.md) [简体中文](/doc/README.zh-cn.md)
# Frequently Asked Questions
### Q:What is the advantage of using udp2raw FakeTCP mode,Why not use OpenVPN TCP mode?
Answer:TCP doesnt allow real-time/out-of-order delivery.If you use OpenVPN TCP mode to turn UDP traffic to 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.For UDP re-transmission is usually un-necessary,bandwith will be wasted for re-transmission.UDP programs usualy want to control packet sending rate by themselves.If you use OpenVPN TCP mode this cant be done because of the underlaying TCP protocol.Further more,with the re-transmission of underlaying 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 will take a long time).
For udp2raw there is no underlying TCP protocol,udp2raw just add TCP headers to UDP packets directly.It doesnt have all above issues.
# Support Platforms # Support Platforms
Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access. Linux host (including desktop Linux,Android phone/tablet,OpenWRT router,or Raspberry PI) with root access.