telnet mydomain.tld 25
tells me "connection refused"
that's the extent of my network hax0r skillz.
how can i tell if it's my network i'm on or the server itself?
telnet mydomain.tld 25
tells me "connection refused"
that's the extent of my network hax0r skillz.
how can i tell if it's my network i'm on or the server itself?
The tool you're looking for is "tcptraceroute". Specify the destination port, and look for at what point in the trace it fails.
Does it show up in
netstat
as listening on that server? Can you telnet from that server to itself on port 25? If so, the server is listening on port 25.Then try from another machine in the same network. If that doesn't work, then a firewall is most likely to blame, and it's on the SMTP server. I'm assuming it's
iptables
or the Windows firewall. Check here for disabling it on Windows, or use the GUI.If you can't reach it from outside your network, it may either be a firewall issue (again) or a NAT issue. If you have a private address on your server (like 192.168.x.x, 172.16-32.x.x, or 10.x.x.x), then you'll need to forward port 25 from your gateway to the server's internal IP.
This should give you a good start. Let us know!
Probably the simplest way to check is go to a computer outside the network and telnet/nmap to the port.
http://www.canyouseeme.org/ offers you to select your port number and they test it from online.
Good luck!
telnet port 25 to any other server?
Take DNS out of the equation for a minute. Can you telnet to port 25 of the ip address of your email server?
use nmap to check if the host port is open. If it is, you 'd better change it to ssh :> Unfortunately telnet is dead and should be used only for backwards compatibility (Sends everything plaintext)
But in your case, depending on what nmap returns, either the port isn't open or it's open but access is restricted only to certain group and not to anyone.