openwrt/packages/luci-app-ocserv/root/etc/sysctl.d/12-bbr.conf
Ivan Cherniy 9d0878a32a luci-app-ocserv: depend on kmod-tcp-bbr, ship bbr sysctl, hint about the other end
TCP-only tunnels (UDP off) run TCP inside TCP; cubic made a chained setup ~10x slower.
The package now pulls kmod-tcp-bbr, ships /etc/sysctl.d/12-bbr.conf and applies it on install.
The Enable UDP description reminds to use bbr on every other node and to reconnect tunnels.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 23:41:07 +03:00

5 lines
392 B
Text

# Shipped by luci-app-ocserv. Tunnels of ocserv/openconnect run over TCP when UDP is off, so user
# traffic is TCP inside TCP; with cubic that is several times slower than with bbr.
# Only the default for new connections: running tunnels keep cubic until they reconnect.
# OpenWrt has no sch_fq, so the default qdisc stays as it is (bbr works without fq).
net.ipv4.tcp_congestion_control=bbr