Linux

為什麼 UFW 埠範圍/埠數限制為 15 個埠?

  • October 20, 2020

為什麼 UFW 埠範圍/埠數限制為 15 個埠?

man ufw:

您不能指定超過 15 個埠

ufw 只是 iptables 的包裝器。當您在單個規則中使用多個埠時,將使用 ufw 下方的 iptables 匹配multiport。15 個計數是這個multiport匹配的埠號限制(參見原始碼)。

引用自:https://serverfault.com/questions/1039459