Initial template repository
🎬 ARR Suite Template Bootstrap - Complete Media Automation Stack Features: - 16 production services (Prowlarr, Sonarr, Radarr, Plex, etc.) - One-command Ansible deployment - VPN-protected downloads via Gluetun - Tailscale secure access - Production-ready security (UFW, Fail2Ban) - Automated backups and monitoring - Comprehensive documentation Ready for customization and deployment to any VPS. Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
26
templates/jail.local.j2
Normal file
26
templates/jail.local.j2
Normal file
@@ -0,0 +1,26 @@
|
||||
[DEFAULT]
|
||||
# Ban hosts for one hour:
|
||||
bantime = 3600
|
||||
|
||||
# Override /etc/fail2ban/jail.d/00-firewalld.conf:
|
||||
banaction = iptables-multiport
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = ssh
|
||||
filter = sshd
|
||||
logpath = /var/log/auth.log
|
||||
maxretry = 3
|
||||
bantime = 3600
|
||||
findtime = 600
|
||||
|
||||
{% if plex_public_access | default(false) %}
|
||||
[plex]
|
||||
enabled = true
|
||||
port = 32400
|
||||
filter = plex
|
||||
logpath = /home/docker/logs/plex/*.log
|
||||
maxretry = 5
|
||||
bantime = 7200
|
||||
findtime = 600
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user