rinetd(lkl) with bbr powered congestion control

wget "https://github.com/linhua55/lkl_study/releases/download/v1.2/rinetd_bbr_powered" -O /usr/sbin/rinetd

rinetd(lkl) with bbr congestion control

wget "https://github.com/linhua55/lkl_study/releases/download/v1.2/rinetd_bbr" -O /usr/sbin/rinetd

以上二选一即可
修改权限:
chmod +x rinetd

修改rinetd的配置文件rinetd.conf,添加监听地址:
vi rinetd.conf

bindadress bindport connectaddress connectport

0.0.0.0 50009 0.0.0.0(IP) 50009

设置开机启动

vi /etc/systemd/system/rinetd.service

[Unit]
Description=rinetd

[Service]
ExecStart=/usr/sbin/rinetd -f -c /usr/sbin/rinetd.conf raw venet0:0
Restart=always

[Install]
WantedBy=multi-user.target

最后执行:

systemctl enable rinetd.service && systemctl start rinetd.service

标签: bbr, ovz vps bbr

添加新评论