Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

In the Outbound Rules, I set up a rule to allow outbound connection from port 26. But, it doesn't work.

However, if I allow "all port" for this rule, this will work, but then all ports will be allowed too.

What is the reason? Is there any conflicting rule? I need to fix this as soon as possible.

-Edit to add :

I'm trying to allow email access to mail server outside (port 26). The thing is, even if I telnet using port 26, it will not work, unless I allow "all ports". Specific port will not do.

share|improve this question
    
What are you actually trying to allow access to? It sounds to me like port 26 is being opened fine, but that whatever you are trying to use needs access to other ports too (or instead) –  Sam Mar 4 '11 at 9:42
    
I'm trying to allow email access to mail server outside (port 26). The thing is, even if I telnet using port 26, it will not work, unless I allow "all ports". Specific port will not do. –  Jody Mar 4 '11 at 10:52

1 Answer 1

up vote 2 down vote accepted

It sounds like you're connecting TO port 26 not FROM port 26, so the rule should allow connections FROM any port TO port 26.

share|improve this answer
    
Oh, wow.. Okay.. It's the local port and remote port that I don't understand.. It's working now.. But I'm still confused, why should the local port to be "ALL PORTS".. Thanks –  Jody Mar 4 '11 at 13:57
    
Because the local side will select a random port from one of the ephemeral ports to make the outbound connection from. ncftp.com/ncftpd/doc/misc/ephemeral_ports.html –  joeqwerty Mar 4 '11 at 14:51
    
oh, wow.. awesome.. thank you.. –  Jody Mar 5 '11 at 9:14
    
Glad to help... –  joeqwerty Mar 5 '11 at 14:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.