Forum Moderators: phranque
I've set up a custom mail server to listen for SMTP on ports 25 and 26. I am able to telnet from my home computer and get the server response on port 25, but not port 26. When I try connecting to port 26 from the server itself (using putty to connect to ssh), I am able to telnet both ports 25 and 26. This makes me think some kind of firewall is running and blocking port 26.
Any ideas on how to troubleshoot this? I don't know where to start. The server is a VPS hosting plan -- where I have root access to my partition. I've looked at the hosting documentation, but have not found any mention of firewalls. Please help. Thanks!
best,
Dave
Try: iptables-restore < /dev/null
That will delete all the firewall rules from memory. Then if you telnet from home and get no connection, it's a firewall on your physical machine or on your host's network. (It could also be your ISP blocking the port outbound, but I don't know why they would).
Thanks for the helpful tips, guys. Sorry I'm such a newbie at Linux admin stuff.