
我一直在做一些關於提高 OpenVPN 效能的研究,我發現將 fastforwarding 設為 1,但是當我嘗試時,我收到錯誤error: "net.inet.ip.fastforwarding" is an unknown key
並嘗試error: "net.ipv4.ip.fastforwarding" is an unknown key
並想知道我是否需要加載模組?
這是一個 CentoOS 6.x 64 位元盒子。
答案1
您可以使用以下命令查看內核參數列表:
$ sysctl -a
我查看了 CentOS 6.x 系統和 Ubuntu 12.04 系統,都沒有該參數。
$ sysctl -a | grep forwarding
我想知道它是否只是 BSD 參數?net.inet.ip.fastforwarding 效能調整
除了與 pfsense 相關之外,我還沒有發現它在任何地方被引用。谷歌搜尋「net.inet.ip.fastforwarding」僅顯示 BSD 相關連結。
本教程,FreeBSD 調優與最佳化也顯示它只是一個 BSD 選項。
網路位址
這整棵樹甚至在 Linux 中都不存在,它似乎只是 BSD 的核心參數。這是一篇涵蓋其餘內容的帖子,標題為:FreeBSD net.inet.ip Sysctls 解釋。 Linux 使用net.ipv4.inet
.