| Linode Forum https://forum.linode.com/ |
|
| unable to conenct port 25 https://forum.linode.com/viewtopic.php?f=11&t=6280 |
Page 1 of 1 |
| Author: | zivperry [ Thu Nov 18, 2010 5:03 am ] |
| Post subject: | unable to conenct port 25 |
Hi all, I'm trying to configure email-forwarder using postfix, but I can't connect to my linode port 25. here some technical details: There is a daemon listening to this port Code: > netstat --listening --inet --program I can connect (telnet to port 25) from my linode Code: > telnet localhost 25 // sucess Unable to connect (telnet to port 25) from my desktop Code: > telnet 178.79.128.210 25 nmap said that the port is filterd: Code: > nmap -sS 178.79.128.210 And i've deleted all rules from iptables: Code: > iptables -L Any idea someone??? Thanks, Ziv |
|
| Author: | db3l [ Thu Nov 18, 2010 6:31 am ] |
| Post subject: | |
You might be getting filtering at your source location rather than at the Linode end. Some ISPs filter traffic to port 25 - ostensibly to help block relaying/spamming - forcing you to use their smart gateways for outbound mail. You might try shifting your server to a different port and see if that works any better. Or if you specifically want to forward through that port you could see about a VPN or SSH forwarding tunnel between your home machine and your Linode, and then connect over that. -- David |
|
| Author: | zivperry [ Thu Nov 18, 2010 6:55 am ] |
| Post subject: | thanks |
It was it connected to my home desktop and all was good thanks a lot |
|
| Author: | brainbuz [ Sat Nov 27, 2010 10:47 pm ] |
| Post subject: | I can't connect to Port 25 from other hosts. |
I'm having a similar problem, except that I can connect to postfix on an alternate port from external hosts. I've ruled out the firewall, first I had ssh answer port 25 successfully (then I took the port back), then I completely ripped out the firewall. I even tried installing postfix on a machine at my house, was able to connect to it from other hosts and then copied its' main and master files to my linode, and still have the issue! I know that postfix is running because it can answer on a different port (and locally) and I know the firewall isn't the culprit because the problem exists when there is no firewall and other services can answer port 25. I'm running Ubuntu 10.04, with no added repositories. Code: main.cf |
|
| Author: | db3l [ Sat Nov 27, 2010 11:04 pm ] |
| Post subject: | Re: I can't connect to Port 25 from other hosts. |
brainbuz wrote: I'm having a similar problem, except that I can connect to postfix on an alternate port from external hosts. I've ruled out the firewall, first I had ssh answer port 25 successfully (then I took the port back), then I completely ripped out the firewall. I even tried installing postfix on a machine at my house, was able to connect to it from other hosts and then copied its' main and master files to my linode, and still have the issue!
The tests you showed don't seem to eliminate possible filtering for outbound port 25 at your source location (in your sample, your Dreamhost shell account). And testing inbound to your home host doesn't preclude outbound filtering by your provider. The comment above about making an ssh connection to port 25 is about the only thing that would seem to indicate no such filtering, so it might be helpful to see a sample of that test just to be sure, since that still seems to be the most likely possibility given that a different port works. It is interesting that you get a port refused rather than just no response, since I suspect most ISP filters would just blackhole the traffic (I know mine does), but such blocks could certainly be active as well. However, I will note that I tried a quick test (see below) and could access your server on port 25 from one of my Newark Linodes. Also successful from a random web server in CA. So I do think things are ok on your Linode itself and the problem is likely elsewhere, unless something changed since you posted. Code: telnet> open node.brainbuz.org 25 -- David |
|
| Author: | brainbuz [ Sun Nov 28, 2010 12:57 am ] |
| Post subject: | I think you're right but it remains a puzzle. |
I just tried checkOR.com (open relay tester) and it said it connected and I'm not a relay . That dreamhost would allow ssh to 25 but not telnet to 25 doesn't make any sense to me. For the time being I have to trust that port 25 is really working and continue building it as a gateway/private relay (testing will be extra fun since I won't fully trust it to answer 25). |
|
| Author: | db3l [ Sun Nov 28, 2010 2:56 am ] |
| Post subject: | Re: I think you're right but it remains a puzzle. |
brainbuz wrote: I just tried checkOR.com (open relay tester) and it said it connected and I'm not a relay . That dreamhost would allow ssh to 25 but not telnet to 25 doesn't make any sense to me. For the time being I have to trust that port 25 is really working and continue building it as a gateway/private relay (testing will be extra fun since I won't fully trust it to answer 25).
That's why I asked for a sample of the ssh test - are you absolutely sure you really switched ports? If you're concerned for future testing, you could always provision a second Linode (even in a different DC) if only for a few days and use it as a test source. -- David |
|
| Author: | brainbuz [ Sun Nov 28, 2010 5:28 am ] |
| Post subject: | ssh 25 didn't work |
I just reran the ssh test and it didn't work. I must have mistyped the command in earlier in a manner that appeared to work. Of course little things like being blocked on outbound ports from my shell account are exactly why I'm moving from Dreamhost to Linode. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|