mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-26 18:10:54 +00:00 
			
		
		
		
	added script which automatically adds IP addresses which have been reported to be attacking other servers. It will update the IPTables automatically everyday, as well as perform the initial run the first day. As mentioned in #864 on the origin
This commit is contained in:
		
							parent
							
								
									6f1315f93a
								
							
						
					
					
						commit
						994727d2cd
					
				| @ -304,3 +304,8 @@ cp conf/fail2ban/miab-postfix-submission.conf /etc/fail2ban/filter.d/miab-postfi | ||||
| cp conf/fail2ban/miab-roundcube.conf /etc/fail2ban/filter.d/miab-roundcube.conf | ||||
| 
 | ||||
| restart_service fail2ban | ||||
| 
 | ||||
| # Add Blocklist.de malicious IP Addresses to Daily Crontab | ||||
| curl -s https://gist.githubusercontent.com/klepsydra/ecf975984b32b1c8291a/raw > /etc/cron.daily/sync-fail2ban | ||||
| chmod a+x /etc/cron.daily/sync-fail2ban | ||||
| time /etc/cron.daily/sync-fail2ban | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user