我發現ImmortalWrt 24.10并未預設啟用 BBR (Bottleneck Bandwidth and Round-trip propagation time),我照著谷歌AI 3 Flash建議才裝好BBR!
我停用 FullCone NAT!
系統 - SSH 存取 - PORT:7788 (我沒使用預設的Port 22)
系統 - HTTP訪問 - 重定向到 HTTPS:打勾
網路 - 全域網路選項 - 封包引導
已啟用(所有CPU)
# 我同時使用ControlD DNS過濾惡意網站,并用banIP阻止他人騷擾、滲入。
Services -> banIP。
在 Feeds 選項中,勾選:debl、feodo、firehol1、greensnow
Nice 级别:較低(調低banIP優先級,以便SQM運算順利)
https://github.com/openwrt/packages...files/README.md
系統 - 計劃任務
0 4 * * * sleep 61 && touch /etc/banner && reboot
2 4 * * * wifi reload
# ImmortalWrt候选 NTP 服务器在中國,所以自行填入time.windows.com、pool.ntp.org
系统属性 - 常规设置 - 時區 Asia/Taipei
系统属性 - 常规设置 - 時間同步
候选 NTP 服务器
time.windows.com
pool.ntp.org
ntp.tencent.com
ntp1.aliyun.com
ntp.ntsc.ac.cn
cn.ntp.org.cn
網路 - 防火牆 - 區域設定 - 一般設定
啟用SYN洪水保護
丟棄無效封包
網路 - 防火牆 - 防火�椓竷悃籪�
軟體流量卸載
(軟體卸載依然能大幅降低 CPU 負擔,但它與 nftables 的相容性比硬體卸載好得多,能確保 banIP 規則被正確觸發。)
# 我的SQM (Smart Queue Management)
設定只開一個規則:wan
將ISP牌定速率乘0.75(下載)乘以1000,或乘0.75(上傳)乘以1000,分別得到上傳速度、下載速度,填入規則中。
原則用Cake、layer_cake.qos (piece_of_cake.qos在我家效果不佳)