Open4
Linux 設定集

よくやる設定集

IPフォワード
/etc/sysctl.d/ipforward.conf
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1

BBR
/etc/modules-load.d/bbr.conf
tcp_bbr
/etc/sysctl.d/bbr.conf
net.core.default_qdisc = cake
net.ipv4.tcp_congestion_control = bbr

Docker
~/.docker/daemon.json
/etc/docker/daemon.json
{
"registry-mirrors": ["https://mirror.gcr.io"]
}