Category fail2ban

fail2ban

"https://github.com/fail2ban/fail2ban/archive/0.9.3.tar.gz"
"tar -xzf 0.9.3.tar.gz"
"cd fail2ban-0.9.3"
"python setup.py install"
"cd /etc/fail2ban/"
"vi jail.conf" ->

"mkdir -p /var/run/fail2ban/"
"fail2ban-client start" oder "fail2ban-server" starten (-f = Starte den Server im Vordergrund) 
"fail2ban-client status"
	Status
	|- Number of jail:      0
	`- Jail list:
	
#Jails aktivieren. Minimal Konfig
"vi /etc/fail2ban/jail.conf" ->
	[sshd]
	port    = ssh
	logpath = /var/log/messages
	enabled = true

#Konfig anpassen
"vi /etc/fail2ban/fail2ban...
Read More