gitops/playbooks/roles/vhosts/firewall
Haitao Pan 136b205e01 firewall role: add UFW mail server firewall configuration
- Add comprehensive UFW firewall rules for mail server
- Opens essential ports: SSH (22), HTTPS (443), HTTP (80)
- Opens mail ports: SMTP (25), Submission (587), SMTPS (465), IMAPS (993)
- Blocks plaintext ports: POP3 (110), IMAP (143), POP3S (995)
- Allows LMTP (24) from private networks only
- Provides verification output with visual status display
- Default deny all incoming, allow all outgoing
- Security warnings included in output

Features:
- Idempotent UFW configuration
- Configurable via variables
- Clean visual output of all rules
- SSH added first to prevent lockout
- Documentation in defaults/main.yml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 20:48:31 +08:00
..
defaults firewall role: add UFW mail server firewall configuration 2025-11-10 20:48:31 +08:00
handlers firewall role: add UFW mail server firewall configuration 2025-11-10 20:48:31 +08:00
tasks firewall role: add UFW mail server firewall configuration 2025-11-10 20:48:31 +08:00