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

TCP fast open 支持 #20

Open
hhding opened this issue Dec 14, 2018 · 2 comments
Open

TCP fast open 支持 #20

hhding opened this issue Dec 14, 2018 · 2 comments

Comments

@hhding
Copy link

hhding commented Dec 14, 2018

修改下列参数:
原始内容:
LKL_HIJACK_SYSCTL='net.ipv4.tcp_congestion_control=bbr;net.ipv4.tcp_wmem=4096 65536 67108864'
修改为:
LKL_HIJACK_SYSCTL='net.ipv4.tcp_congestion_control=bbr;net.ipv4.tcp_fastopen=3;net.ipv4.tcp_wmem=4096 65536 67108864'
另外,haproxy 的 bind 需要加 tfo

bind 10.0.0.2:${ports}
修改为:
bind 10.0.0.2:${ports} tfo

@sxml
Copy link

sxml commented Sep 8, 2019

以前用你博客 一键安装 然后都是 在服务器 ./kcptun.sh update 更新# 现在怎么设置开启tcp 呢?
https://blog.kuoruan.com/110.html

@kuoruan
Copy link
Owner

kuoruan commented Sep 9, 2019

@sxml 新版脚本已经支持,重新配置一下即可

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

3 participants