防火墙configuration为允许25 / tcp,但仍然无法telnet到该端口上的服务器

我有postfixdovecot运行在端口25,110,587,465,993,995为通常的邮件协议。 我可以远程login到除了端口25以外的所有端口。 任何想法是怎么回事?

远程login到端口25(失败)

# telnet 192.168.1.100 25 Trying 192.168.1.100 ... telnet: connect to address 192.168.1.100: Operation timed out telnet: Unable to connect to remote host 

本地Telnet到端口25(成功)

 # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 example.com.au ESMTP Postfix 

Firewalld规则:

 # firewall-cmd --list-all public (default, active) interfaces: eth0 sources: services: dhcpv6-client dns http https imaps pop3s smtp ssh ports: 110/tcp 465/tcp 5432/tcp 587/tcp 143/tcp 2288/tcp 25/tcp masquerade: no forward-ports: icmp-blocks: rich rules: 

我的后缀main.cf

 inet_interfaces = $myhostname, localhost 

ss -plnt |grep :25返回

 LISTEN 0 100 *:25 *:* users:(("master",30844,13)) LISTEN 0 100 :::25 :::* users:(("master",30844,14)) 

检查你的电台防火墙。 我可以连接到你的后缀“telnet 192.168.1.100 25”