1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Use bbr by default

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-08-02 15:35:15 +00:00
parent 0a711370c5
commit f81944fb8c
2 changed files with 3 additions and 3 deletions

View file

@ -257,9 +257,9 @@ fi
# Add OpenMPTCProuter VPS script version to /etc/motd
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.42 >:' /etc/motd
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.43 >:' /etc/motd
else
echo '< OpenMPTCProuter VPS 0.42 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.43 >' >> /etc/motd
fi
if [ "$update" = "0" ]; then

View file

@ -42,7 +42,7 @@ net.ipv4.tcp_wmem = 4096 87380 134217728
net.ipv4.tcp_mtu_probing = 0
# for low-latency network, use cubic instead
net.ipv4.tcp_congestion_control = olia
net.ipv4.tcp_congestion_control = bbr
# Default conntrack is too small
net.netfilter.nf_conntrack_max = 131072