Skip to content
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 #520

Open
linnuxx opened this issue Apr 20, 2024 · 1 comment
Open

kcp over udp2raw does not work well #520

linnuxx opened this issue Apr 20, 2024 · 1 comment

Comments

@linnuxx
Copy link

linnuxx commented Apr 20, 2024

English Only.
kcptube:
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:
./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

ScreenShot_20240421001115
the command does not want to run.

@wangyu-
Copy link
Owner

wangyu- commented Apr 29, 2024

I suggest:

  1. use faketcp instead of "easy-faketcp" since the latter is known to have worse compatiblity (and you will need add iptables either by -a or manually)
  2. look at udp2raw log and see what it says

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants