Roo*_*ull 5 linux debian smtp telnet
我无法从我的 PC 连接到 SMTP 服务器。我使用 Debian sid。
telnet mail.example.com 25
Trying 12.23.34.45...
telnet: Unable to connect to remote host: Connection timed out
Run Code Online (Sandbox Code Playgroud)
来自我网络外部的另一台 Debian PC:
telnet mail.example.com 25
Trying 12.23.34.45...
Connected to mail.example.com.
Escape character is '^]'.
220 mail.example.com ESMTP Exim 4.63 Mon, 02 Apr 2012 22:14:09 +0200
Run Code Online (Sandbox Code Playgroud)
ping也永远挂起,当我点击Ctrl+ 时,C它会显示“100% 丢包”。最后,traceroute满是星号:
traceroute mail.example.com
traceroute to mail.example.com (12.23.34.45), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
...
27 * * *
28 * * *
29 * * *
30 * * *
Run Code Online (Sandbox Code Playgroud)
当我nmap针对服务器端口 25运行时:
nmap mail.example.com -p25
Starting Nmap 5.21 ( http://nmap.org ) at 2012-04-02 23:08 EEST
Nmap scan report for mail.example.com (12.23.34.45)
Host is up (0.090s latency).
PORT STATE SERVICE
25/tcp filtered smtp
Nmap done: 1 IP address (1 host up) scanned in 0.88 seconds
Run Code Online (Sandbox Code Playgroud)
最后我的iptables:
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?非常感谢您的帮助。
为了进行健全性检查,我会运行一些快速端口检查服务,例如:
一旦您确信只有您的 Debian PC 有问题,请尝试连接到其他一些知名的邮件提供商(例如 gmail、yahoo 等)。这将有助于缩小问题的范围。如果您无法连接到其中任何一个,但仍然具有端到端连接,那么组合中可能存在被阻止的端口/服务。
如果您可以连接到其中的一些,那么我会考虑收集数据包捕获(从两侧)以确认某些数据包没有一路通过。
| 归档时间: |
|
| 查看次数: |
8672 次 |
| 最近记录: |