Odd Problem - Connecting to SMTP
I have a strange problem. When I try to connect to a mail server from my linux router it can't connected to port 25. It seems like only port 25 is affected.
The WAN port is DHCP and the LAN is set static with NAT enabled on outbound.
However a computer behind my linux router has no trouble connecting to port 25. It's only when I try to connect from the linux router itself. I'm using IPTables 1.3.3
Does anyone have an idea of what is causing this?
Regards,
Chris
Can you post your ruleset .. INPUT/OUTPUT at least ?
Quoted 12 lines · Chris Shipman
I have a strange problem. When I try to connect to a mail server from my linux router it can't connected to port 25. It seems like only port 25 is affected.
The WAN port is DHCP and the LAN is set static with NAT enabled on outbound.However a computer behind my linux router has no trouble connecting to port 25. It's only when I try to connect from the linux router itself. I'm using IPTables 1.3.3
Does anyone have an idea of what is causing this?
Regards,
Chris
Signature · 3 lines
abulyomon www.KiLLTHeUPLiNK.com
Quoted 4 lines · Chris Shipman
I have a strange problem. When I try to connect to a mail
server from my linux router it can't connected to port 25. It seems
like only port 25 is affected. The WAN port is DHCP and the LAN is set static with NAT enabled on outbound.
Many ISP's do block outbound SMTP for dynamic IP space because of the prevalence of Windows spam worms. But ...
Quoted 3 lines
However a computer behind my linux router has no trouble
connecting to port 25. It's only when I try to connect from the
linux router itself. I'm using IPTables 1.3.3
... this appears to refute that hypothesis in this case.
Quoted 1 line
Does anyone have an idea of what is causing this?
Perhaps you have an OUTPUT rule which you did not understand.
Signature · 2 lines
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Chris Shipman
I have a strange problem. When I try to connect to a mail server from my linux router it can't connected to port 25. It seems like only port 25 is affected.
The WAN port is DHCP and the LAN is set static with NAT enabled on outbound.However a computer behind my linux router has no trouble connecting to port 25. It's only when I try to connect from the linux router itself. I'm using IPTables 1.3.3
Does anyone have an idea of what is causing this?
some linux dists also compile tcpd/sendmail to work and play together, and this might be the case if your setup has a default deny in the /etc/hosts.deny file, took awhile to figger that out here when working with a new slackware setup and old hosts.xxx files moved from other working setups.
Thanks,
Ron DuFresne
- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin & senior security consultant: sysinfo.com
http://sysinfo.com
Key fingerprint = 9401 4B13 B918 164C 647A E838 B2DF AFCC 94B0 6629
...We waste time looking for the perfect lover
instead of creating the perfect love.
-Tom Robbins <Still Life With Woodpecker>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFDHgOmst+vzJSwZikRAmsWAJ9g9T3c9r+Iuj1fBnsNGoJcbXkOgACfUh7s ggUMujzQ2HGk72241hmiCzk=
=8Wtn
-----END PGP SIGNATURE-----