Actualiser README.md
This commit is contained in:
		
							parent
							
								
									4a5cdeb039
								
							
						
					
					
						commit
						f3427963e9
					
				
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| @ -71,6 +71,14 @@ sudo apt install fail2ban -y | ||||
| ``` | ||||
| 
 | ||||
| - Créer `/etc/fail2ban/filter.d/realmd.conf`: | ||||
| ```conf | ||||
| [Definition] | ||||
| failregex = \[AuthChallenge\] Account '.*' using IP '<HOST>' tried to login with wrong password! | ||||
| ignoreregex = | ||||
| ``` | ||||
| 
 | ||||
| - Créer `/etc/fail2ban/jail.local`: | ||||
| 
 | ||||
| ```conf | ||||
| [realmd] | ||||
| enabled  = true | ||||
| @ -80,12 +88,13 @@ protocol = tcp | ||||
| logpath  = /home/wow/vmangos/logs/realmd/realmd.log | ||||
| maxretry = 5 | ||||
| findtime = 600 | ||||
| bantime  = 3600 | ||||
| bantime  = 36000 | ||||
| ``` | ||||
| 
 | ||||
| - Redémarrer fail2ban: | ||||
| ```bash | ||||
| sudo systemctl restart fail2ban | ||||
| sudo fail2ban-client reload | ||||
| ``` | ||||
| 
 | ||||
| ## SE CONNECTER AU SERVEUR | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	