LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-21-2010, 07:19 AM   #1
fareedreg
Member
 
Registered: Dec 2007
Posts: 51

Rep: Reputation: 15
Centos 5.5 Server Security


I have just configured Centos 5.5 LocalMailServer with fetchmail and sendmail , Proxy with Squid and FileServer with samba. Now my concern is security.. How can i protect my server with outside attack. Will I need to block some ports or I need special tools or script so no one from outside can attack my machine.

My machine is working on intranet with local ip only.. No web server or static ip exists. Machine is connected with ADSL router to access internet.

Thanks in advance
 
Old 12-21-2010, 07:38 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
If machine is not exposed to external world, your system is not at risk from outsiders but insiders itself. If you are connecting to internet using adsl modem, you can block certain ports at that level.
iptables with tcp wrappers should make your system stronger. Blocking ports is one way to secure your system but you need to also keep watch on the processes running.
But your question is very vague to answer it to the point. Can you elaborate what you want to do with the server? How is it going to be used? Who are going to be the users or clients?
 
Old 12-21-2010, 11:34 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Just to add a point of clarification on the last post and the original question: The server is on local LAN IP only, but connects to the Internet via an ASDL router. If you have any port forwarding in the router then the services on these ports are exposed to attack almost the same degree as if the machine were directly connected. I concur with Linuxlover.chaitanya, please elaborate on your objectives so that we can better advice with regards to security recommendations.
 
Old 12-21-2010, 11:18 PM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
I missed out on the port forwarding part. And if that is done, then server is at risk. OP needs to clarify on that part.
 
Old 12-22-2010, 12:06 AM   #5
fareedreg
Member
 
Registered: Dec 2007
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linuxlover.chaitanya View Post
I missed out on the port forwarding part. And if that is done, then server is at risk. OP needs to clarify on that part.
Thanks for valuable suggestions from all of you. I do not have any port forwarding in my ADSL router right now but in later stages I would like to do it also.
 
Old 12-22-2010, 12:39 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
If you are planning on have port forwarding for putting your server live, then you need to describe what services are you going to provide your clients. What is going to be the purpose of your server? What do you want to do with it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux centos 5 sharing and security ersourabh Linux - Server 1 12-04-2010 04:47 AM
To update only Security packages on CentOS nandanm1 Linux - Newbie 1 04-28-2009 12:52 PM
LXer: CentOS Directory Server On CentOS 5.2 LXer Syndicated Linux News 0 08-06-2008 09:20 PM
Has Centos 4.3 Security Vulnerabilities? Seregwethrin Linux - Server 3 02-29-2008 09:48 AM
LXer: Configuring Samba 3.0 To Use The ADS Security Mode (CentOS) LXer Syndicated Linux News 0 06-27-2007 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration