mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 18:28:44 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			346 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			346 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| [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 | 
