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>
5 lines
392 B
Text
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
|