我无法从多个IP地址访问我的cant服务器。我认为问题可能出在iptable里。
我在服务器上安装了fail2ban,也许这就是原因。
我的runs服务器运行在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 (这是原因吗?)
发布于 2014-05-13 11:08:09
正如您所说,fail2ban似乎不是您的问题。只需检查一下,尝试暂时停止fail2ban服务(service fail2ban stop),这将删除所有iptables限制,并查看会发生什么。
下一件事是从一些无法到达服务器的主机上进行跟踪,看看它们是否有共同的位置--您可能偶尔会遇到路由问题,特别是如果您的web服务器位于最近分配的IP地址块上。
https://stackoverflow.com/questions/23629326
复制相似问题