【问题标题】:ip not rejected - iptablesip 未被拒绝 - iptables
【发布时间】:2013-12-11 05:33:56
【问题描述】:

我试图拒绝特定 IP 连接到我的网络服务器,所以我使用了以下命令:

# iptables -A INPUT -s 65.55.44.100 -j DROP
# service iptables save

杀死所有httpd进程并重新启动httpd后,IP仍然以以下格式显示在netstat中:

::ffff:65.55.44.100:port

新的 iptable 规则不应该拒绝这个 IP 连接吗?

【问题讨论】:

    标签: linux centos iptables


    【解决方案1】:

    即 IPv6,通过 ip6tables 管理。

    ip6tables -A INPUT -s ::ffff:65.55.44.100 -j DROP
    

    【讨论】:

      猜你喜欢
      • 2012-06-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-11
      • 2021-10-15
      • 1970-01-01
      • 2021-09-18
      相关资源
      最近更新 更多