#1  
Old 29th August 2008, 04:38
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 385
Thanks: 27
Thanked 0 Times in 0 Posts
Default Server > Services

I turned the firewall on in Server > Services. I went through the perfect setup, but is there anything I need to do before the server is secure?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 29th August 2008, 08:35
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,016
Thanks: 7
Thanked 56 Times in 51 Posts
Default

Just a firewall does not make your server safe. it just helps preventing some layer 2/3 based attack vectors or at least reduce them.

There are things like weak passwords for ssh accounts, keeping your sw packages up2date e.g. in case of buffer overflow vulns allowing privilege escalations, weak webapps (like often upcoming bugs in several plugins for phpBB and others), etc.

As you can see there won't be a single switch to make your server safe (even ppl of them you could think they know what they do got hacked -> rh / fedora server break in, lately)
Reply With Quote
  #3  
Old 29th August 2008, 15:46
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 385
Thanks: 27
Thanked 0 Times in 0 Posts
Default

I guess what I'm asking...is a brand new installation of ISPConfig's prefect setup with the firewall on considered reasonably secure?
Reply With Quote
  #4  
Old 30th August 2008, 18:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
Default

Generally yes, but I'd also install fail2ban and disable root SSH logins.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 30th August 2008, 18:26
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 385
Thanks: 27
Thanked 0 Times in 0 Posts
Default

I did apt-get install fail2ban, but do I need to do anything to configure it? Also, how do I disable root ssh logins? I'm guess that will mean I can't do anything remotely (outside of ISPConfig)?

Thanks.
Reply With Quote
  #6  
Old 31st August 2008, 12:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
 
Default

Quote:
Originally Posted by dayjahone View Post
I did apt-get install fail2ban, but do I need to do anything to configure it?
http://www.howtoforge.com/fail2ban_debian_etch

Quote:
Originally Posted by dayjahone View Post
Also, how do I disable root ssh logins? I'm guess that will mean I can't do anything remotely (outside of ISPConfig)?
Open /etc/ssh/sshd_config and set PermitRootLogin to no, then restart SSH.

Afterwards, you must log in as a normal user first (that user must of course have shell access!) and then type
Code:
su
to become root.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Services > POP3 server OFFLINE... blaszlo Installation/Configuration 2 29th August 2008 15:04
550-The recipient cannot be verified email problem safoo Installation/Configuration 7 29th November 2006 19:55
How set DNS entry for different server? SupuS Installation/Configuration 1 12th June 2006 09:48
Administrator receive empty mail ??? Stanev General 16 7th April 2006 20:56
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 10:50


All times are GMT +2. The time now is 10:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.