【问题标题】:Banned internet provider IP address By Fail2ban?Fail2ban 禁止互联网提供商 IP 地址?
【发布时间】:2018-12-05 00:22:36
【问题描述】:

我无法从多个 IP 地址访问我的网络服务器。我认为问题可能出在 iptables 中。

我在服务器上安装了 fail2ban,也许这就是原因。

我的网络服务器在 ubuntu 13.10 下运行

IPTABLES -L 给了我下一个:

root@mail:/home/irishman# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
fail2ban-postfix  tcp  --  anywhere             anywhere             multiport dports http,https,smtp,submission,pop3,pop3s,imap2,imaps,sieve
fail2ban-dovecot  tcp  --  anywhere             anywhere             multiport dports http,https,smtp,submission,pop3,pop3s,imap2,imaps,sieve
fail2ban-roundcube  tcp  --  anywhere             anywhere             multiport dports       http,https,smtp,submission,pop3,pop3s,imap2,imaps,sieve
fail2ban-ssh  tcp  --  anywhere             anywhere             tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain fail2ban-dovecot (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            

Chain fail2ban-postfix (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            

Chain fail2ban-roundcube (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            

Chain fail2ban-ssh (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere   

我在那里看不到任何被禁止的地址。 但问题依然存在。我可以通过一个互联网提供商访问我的服务器 并且不能与另一个。

我也安装了calmAV(可能是这个原因吗?)

【问题讨论】:

    标签: ubuntu webserver iptables


    【解决方案1】:

    正如你所说,fail2ban 似乎不是你的问题。只是为了检查,尝试暂时停止 fail2ban 服务 (service fail2ban stop),这将删除任何 iptables 限制,看看会发生什么。

    接下来要尝试从一些无法访问服务器的主机跟踪路由,并查看它们是否有一个常见的卡住位置 - 您偶尔会遇到路由问题,尤其是如果您的 Web 服务器位于最近分配的 IP 地址块。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-12-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-04
      • 2021-03-01
      相关资源
      最近更新 更多