【问题标题】:iptables - how to set class by ip address instead of port?iptables - 如何通过 IP 地址而不是端口设置类?
【发布时间】:2009-09-23 09:48:21
【问题描述】:

我想使用 --set-class 为来自我网络中特定计算机的任何数据包设置一个特定类,我该如何实现?

【问题讨论】:

  • 这个最好在 serverfault 上问。

标签: linux firewall iptables


【解决方案1】:

我找到了 iprange 内置的 iptables 模块,它支持 src 和 dst 地址的 ip-ranges。

谢谢。

【讨论】:

    猜你喜欢
    • 2019-10-16
    • 2020-10-21
    • 2011-04-13
    • 1970-01-01
    • 1970-01-01
    • 2021-10-10
    • 1970-01-01
    • 2014-03-31
    • 2013-11-11
    相关资源
    最近更新 更多