-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kcp over udp2raw does not work well #24
Comments
Setting https://superuser.com/questions/949428/whats-the-difference-between-127-0-0-1-and-0-0-0-0 |
I set up and made the route like this: wgclient > kcptube > udp2raw > ethernet > vps > udp2raw > kcptube > wgserver. |
I know what you're trying to do, but I was telling you that for the scenario of this usage, DO NOT set Those two links have already mentioned the background of 0.0.0.0 |
mode=client #this is the port of server side's kcptube mode=server #The port number of server side's wireguard #if wireguard and kcptube are running on the same server, use localhost, or 127.0.0.1, or ::1 "speedtest" command also does not work. |
With this configuration, your WireGuard connection's IP address is 127.0.0.1, and your VPS's IP address is 46.174.53.140. In this case, once the WireGuard connection is established, it won't automatically add an entry to the routing table to configure 46.174.53.140 as a direct route. Therefore, you need to manually add a direct route for your VPS IP in the WireGuard configuration file. Honestly, before delving into network tools, learning fundamental networking basic knowledage is necessary. Otherwise, you'll struggle to formulate proper questions when seeking assistance, and it will be difficult for others to accurately diagnose the root cause of any issues you encounter. |
Udp2raw client connects to udp2raw server, kcptube client connects to kcptube server through udp2raw tunnel. |
You don't need to repeat what you want to do over and over again. What you need to do now is:
The steps from 1 to 4 are very basic operations. In particular, ping and iperf are very basic testing tools. If you want to troubleshoot the problem, please learn how to use basic tools and basic network knowledge first. I cannot teach you basic knowledge again and again in issue comments, nor help you come up with detailed troubleshooting steps again and again, especially those that are not related to my tool. Those basic troubleshooting steps should have been completed by you on your own, and the results should have been reported at the beginning. It has been almost a week now, and you have not done those basic tests. Don't just rely on using In addition, it is not recommended to wrap a tcp raw tunnel around kcptube, because kcptube will change its sending port periodically. If the tcp raw tunnel simulates a three-way handshake, wrapping a tcp raw tunnel may cause the latency unstable when the port number changes. Once again, I emphasize the importance of learning basic networking knowledge and how to use basic tools. Otherwise, you won't understand what others are saying, and communication will be impossible. Open-source software authors are not your free customer service representatives. Avoid treating them as such when seeking assistance. Also, take a moment to read about The Art of Asking Great Questions. |
This comment has been minimized.
This comment has been minimized.
I've mentioned early on that KCPtube wasn't specifically designed for high-traffic scenario; it's intended to reduce latency.
Yet, you insist on using KCPTube for transmitting high-traffic of data. Fool? Just see what you wrote in the configuration file at the begining of this issue: Open source software authors are not obligated to provide long-term free basic knowledge tutorials, nor are they obligated to accept abuse. Due to your comments violating the GitHub Community Guidelines, this issue has been locked. |
Try https://github.com/lanthora/candy and https://github.com/lanthora/cake |
mode=client
kcp=regular4
inbound_bandwidth=500M
outbound_bandwidth=50M
#kcptube should listen on 51820, so the wireguard client can connect to this port.
listen_port=51820
#this is the port of server side's kcptube
destination_port=5900
destination_address=0.0.0.0
encryption_password=qwerty1234
encryption_algorithm=AES-GCM
mode=server
kcp=regular4
inbound_bandwidth=1G
outbound_bandwidth=1G
#Listening on 59000
listen_port=5900
#The port number of server side's wireguard
destination_port=51820
#if wireguard and kcptube are running on the same server, use localhost, or 127.0.0.1, or ::1
destination_address=localhost
encryption_password=qwerty1234
encryption_algorithm=AES-GCM
./udp2raw_amd64 -c -l0.0.0.0:5900 -ripvps:443 -k "passwd" --raw-mode easy-faketcp --seq-mode 0 --cipher-mode none
./udp2raw -s -l0.0.0.0:443 -r 0.0.0.0:5900 -a -k passwd --raw-mode faketcp --seq-mode 0 --cipher-mode none
the command does not want to run.
The text was updated successfully, but these errors were encountered: