mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 02:11:10 +01:00 
			
		
		
		
	conf added
This commit is contained in:
		
							
								
								
									
										8
									
								
								roles/fail2ban/files/action.d/banan.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								roles/fail2ban/files/action.d/banan.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| [Definition] | ||||
|  | ||||
| #actionban = ssh -i /config/fail2ban/id_rsa2 admin@192.168.77.1 'firewall ban ip <ip> "<name>"' | ||||
| #actionban = touch  /ban/<ip> | ||||
| actionban = docker exec blockips-unifi php /add_block_firewall.php <ip> >> /tmp/lala | ||||
|  | ||||
| #actionunban = touch  /unban/<ip> | ||||
| actionunban = docker exec blockips-unifi php /del_block_firewall.php <ip> >> /tmp/lala | ||||
		Reference in New Issue
	
	Block a user
	 ladislav.dusa
					ladislav.dusa