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`: | - 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 | ```conf | ||||||
| [realmd] | [realmd] | ||||||
| enabled  = true | enabled  = true | ||||||
| @ -80,12 +88,13 @@ protocol = tcp | |||||||
| logpath  = /home/wow/vmangos/logs/realmd/realmd.log | logpath  = /home/wow/vmangos/logs/realmd/realmd.log | ||||||
| maxretry = 5 | maxretry = 5 | ||||||
| findtime = 600 | findtime = 600 | ||||||
| bantime  = 3600 | bantime  = 36000 | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| - Redémarrer fail2ban: | - Redémarrer fail2ban: | ||||||
| ```bash | ```bash | ||||||
| sudo systemctl restart fail2ban | sudo systemctl restart fail2ban | ||||||
|  | sudo fail2ban-client reload | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ## SE CONNECTER AU SERVEUR | ## SE CONNECTER AU SERVEUR | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	