Solved

Can you give me the consequenses of doing this ?

Posted on 2008-06-20
6
230 Views
Last Modified: 2010-04-20
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.
0
Comment
Question by:jaisonshereen
6 Comments
 
LVL 6

Expert Comment

by:CorpComp
ID: 21835674
What does your server do?

What are you trying to achieve?

What OS are you running?
0
 

Author Comment

by:jaisonshereen
ID: 21835693
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
 
LVL 40

Accepted Solution

by:
omarfarid earned 200 total points
ID: 21836088
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 7

Assisted Solution

by:dineesh
dineesh earned 200 total points
ID: 21837356
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
 

Author Comment

by:jaisonshereen
ID: 21838184
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
 
LVL 6

Assisted Solution

by:CorpComp
CorpComp earned 100 total points
ID: 21839316
That is correct.  If you block port 25 for inward traffic, your mail server will not receive incoming email.

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now