Kuwait Linux User Group

Welcome to the Kuwait Linux User Group, thats dedicated to talk about Linux, BSD, and the use of open source
specially for Kuwait community & others as well -- beside encouraging them to use it.
Follow Us:

Kuwait Linux User Group FAQ (Frequently Asked Questions)



Category: Main -> security

Question
·  security+security
·  how to use fail2ban

Answer
·  security+security
1-here is a link that contian a very importants links/guids in how to secure and optimize your linux.
click here

2- here is another link that contain security tips:click here

3- Slackware System Hardening click here

4- A Guide to Configuring Your Linux Server for Performance, Security, and Manageability TrinityOS

[ Back to Top ]

·  how to use fail2ban

كيفيه استخدام برامج fai2ban

اولا قم يتحميله وتنصيبه:

apt-get install fail2ban

then

 عند استخدام fail2ban

اعمل كوبي اولا
 
cd /etc/fail2ban
 
cp jail.conf jail.local
 
nano jail.local
 
وضع هذا بداخله
 
[ssh]
 
enabled = true
 
port    = ssh
 
filter  = sshd
 
logpath  = /var/log/auth.log
 
maxretry = 3
 
لتفعيل الحمايه لخدمة ssh
 
وسوف تلقي كثير من الامثله والنماذج بداخل الفايل
 
فقط ضع true لتفعيل الذي تتريده
 
enabled  = true
 
ثمه اعمل رستارت لخدمه fail2ban
/etc/init.d/fail2ban restart
 
وللتاكد من تفعيلها اكتب هذا الامر
iptables -L
سوف تجد الخدمه التي فعلتها
وشكر
[ Back to Top ]