Cannot install telnet on port 25 on EC2 instance

My security group has the following:

>22 (SSH)   0.0.0.0/0   
>80 (HTTP)  0.0.0.0/0   
>143 (IMAP) 0.0.0.0/0   
>443 (HTTPS)    0.0.0.0/0   
>995 (POP3S)    0.0.0.0/0   
>465 (SMTPS)    0.0.0.0/0   
>25 (SMTP)  0.0.0.0/0

Running netstat on the server shows the following:

>Active Internet connections (servers and established)
>Proto Recv-Q Send-Q Local Address           Foreign Address         State      
>tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN     
>tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     
>tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
>tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     
>tcp        0      0 10.211.30.202:44025     194.14.0.125:6667       ESTABLISHED
>tcp6       0      0 :::995                  :::*                    LISTEN     
>tcp6       0      0 :::110                  :::*                    LISTEN     
>tcp6       0      0 :::143                  :::*                    LISTEN     
>tcp6       0      0 :::22                   :::*                    LISTEN     
>tcp6       0      0 :::25                   :::*                    LISTEN     
>tcp6       0      0 :::993                  :::*                    LISTEN     

And when I try to access the box from the outside world, I get nothing.

>thedude:~ root$ telnet mail.sd0a.com 25<br />
>Trying 107.20.235.215...<br />
>telnet: connect to address 107.20.235.215: Operation timed out<br />
>telnet: Unable to connect to remote host<br />

Does anyone have any positive experiences with Amazon EC2 instances and receiving mail in a state in which it will work? It is worth noting that mail seems to go through the command line. The system is Ubuntu 12.04.1 LTS, if that matters.

+5
source share
2 answers

Your ISP may be filtering outgoing connections to port 25 / tcp to prevent spam bots.

+4
source

To eliminate the obvious: have you tried

  • , 25?
  • ec2, 25? ( EC2)
  • ( -) sd0a.com:25?
  • traceroute, , .
  • 2525 ( )
  • ufw * Ubuntu. ( ... )

, IP- Amazon EC2 spamhaus.com( ). , , - , IP- ?

+1

All Articles