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

help, how to use it? #921

Open
lootoos opened this issue May 3, 2023 · 1 comment
Open

help, how to use it? #921

lootoos opened this issue May 3, 2023 · 1 comment

Comments

@lootoos
Copy link

lootoos commented May 3, 2023

./client_linux_amd64 -r "193.164.16.243:4000" -l ":8388" -key "123" -nocomp -autoexpire 900 -sockbuf 16777217 -dscp 46
./server_linux_amd64 -t "127.0.0.1:8388" -l "193.164.16.243:4000" -mode fast3 -nocomp -sockbuf 16777217 -dscp 46 -key "123"
How to open port 22\25565 on a home machine using "kcptun"?

@omaidb
Copy link

omaidb commented Jul 10, 2023

服务端配置

# Provide kcp service for local port 22
./server_linux_amd64 -t "127.0.0.1:22" -l "193.164.16.243:4000" -mode fast3 -nocomp -sockbuf 16777217 -dscp 46 -key "123"

客户端配置

# The client is exposed to 25565. At this time, if you access the local 25565, it is equivalent to accessing the server's port 22.
./client_linux_amd64 -r "193.164.16.243:4000" -l ":25565" -key "123" -nocomp -autoexpire 900 -sockbuf 16777217 -dscp 46

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