首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Fail2ban禁止互联网提供商的IP地址?

Fail2ban禁止互联网提供商的IP地址?
EN

Stack Overflow用户
提问于 2014-05-13 10:57:03
回答 1查看 277关注 0票数 0

我无法从多个IP地址访问我的cant服务器。我认为问题可能出在iptable里。

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

我的runs服务器运行在ubuntu 13.10下

IPTABLES -L给出了接下来的内容:

代码语言:javascript
复制
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 (这是原因吗?)

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-05-13 11:08:09

正如您所说,fail2ban似乎不是您的问题。只需检查一下,尝试暂时停止fail2ban服务(service fail2ban stop),这将删除所有iptables限制,并查看会发生什么。

下一件事是从一些无法到达服务器的主机上进行跟踪,看看它们是否有共同的位置--您可能偶尔会遇到路由问题,特别是如果您的web服务器位于最近分配的IP地址块上。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23629326

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档