Can you give me the consequenses of doing this ?

What will happen if my server:

Shouldn't let to expose 25 and 5432 through the firewall.
Unblock ports 22 for ssh, 80 for http and 443 for https.
25 should be kept open for outgoing traffic only.
jaisonshereenAsked:
Who is Participating?
 
omarfaridCommented:
The first lines you posted are recommendations for certain tcp ports (which are applications ports like smtp, ssh, http, https, etc) to be either denied / not allowed or allowed to pass through your firewall in order to protect your server. If you don't allow e.g. port 80 to your server then no one can reach your webserver. similarly, if you allow 23 then others from  outside your firewall can telnet to your server which could be insecure.
0
 
CorpCompCommented:
What does your server do?

What are you trying to achieve?

What OS are you running?
0
 
jaisonshereenAuthor Commented:
What does your server do?
I dont know. How to check
But i know there is a website hosted in apache/mogrel. And a postgres db.

What are you trying to achieve?
Figuring out my client will scold me. If i put rules in the production server.

What OS are you running?

uname -a
Linux footest 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
dineeshCommented:
Looks like you are trying to setup a Mail server with webmail access over 80&443.

in that case you will be able just send out mails and not receive any as 25 inward is also a must for a mail server.
0
 
jaisonshereenAuthor Commented:
Mail server will send and receive mails ... all the mails will go/receive  through the port 25 that is SMTP port.

But as per your comment says need to block 25 for inward traffic. If that the case web mail will not receive any mails right?
0
 
CorpCompCommented:
That is correct.  If you block port 25 for inward traffic, your mail server will not receive incoming email.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.