Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Sendmail, Bastille & Problems, Accessing port 25 from outside firewall
tek
post May 1 2003, 01:58 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 1-May 03
Member No.: 761



Hi all,

i'm having some problems acepting mail on my smtp port on my linuxserver. This happened a few days ago and i did not chabge any settings myself.
I'm using Bastille as my firewall. Here are the rules which open the ports i need.

PUB_IN Chain:
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:http
PAROLE tcp -- anywhere anywhere tcp dpt:smtp

Connections to the ssh and http seem to work just fine.
Telnetting to my smtp port results in a 'no route to host'
Telnetting to an non-allowed port results in '... connection refused' which is ok.

If i scan my ports (using e.g. http://grc.com) it keeps me telling my smtp port is 'Stealted'... even when i drop the firewall ?!?!?!? The other port show up as 'Open' or 'Closed'....

Now i desperately need to know where, why or how my port is blocked? And i need to know how to find the place where this connection is blocked?

Some extra info about my system:

Kernel version (RedHat).
[root@router tek]# uname -a
Linux router.andromeda.net 2.4.18-27.8.0 #1 Fri Mar 14 07:36:43 EST 2003 i686 athlon i386 GNU/Linux

Sendmail (on port 25) is not bound to just local adresses.
[root@router tek]# netstat -an|grep LIST|grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN

Sendmail version: 8.12.9

Oh, btw. Connections from my lan to the smtpport on my server ( =firewall) seem to have no problems. If i change the portnumber 25 in the sendmail.cf to e.g. 33 and also change to 25 in the firewall to 33, i have NO problems connection from the outside.
My sendmail cfg and firewall config seem te be correct. Something else is blocking my port 25 and i need a way to find the offender. Anyone with a clue? I hate to reinstall my server because i'm prob. too stupid to stupid to find the problem.

Any help would be greatly appreciated.

Tek.

Edited: If you need to see for yourself.... The server can be found on: http://wolfpack.homelinux.net
Go to the top of the page
 
+Quote Post
tek
post May 1 2003, 03:43 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 1-May 03
Member No.: 761



Hmm.. forget it.... Seems like the isp decided to block 25.....
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th December 2017 - 09:30 PM