- handlers: a firewall restart flushes the DOCKER* chains and docker's NAT
rules; restart docker afterwards if it is running (like fail2ban).
- host_vars: add values missing from host_vars generated by an older
extract-fw-host-vars.py:
- mm-irights, mm-nd, mm-rav: fw_mm_server_ips
- test.mx: fw_mail_client_ips_v6, fw_dovecot_auth_service_v6,
fw_mumble_server_ips_v6
- mm: fw_allow_local_service_v6 uses "<port>,<proto>" (the IPv6 script
splits on ',', the IPv4 script on ':').
Rolled out to a.mx, a.ns, b.mx, b.ns, backup.warenform, cl-01, cl-02,
cl-dissens, cl-flr, cl-irights, cl-nd-test, cl-ndm, mm, mm-irights, mm-nd,
mm-rav, o45, test.mx; second run changed=0 on all of them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
822 B
YAML
42 lines
822 B
YAML
---
|
|
# ipt-firewall configuration for a.ns.oopen.de
|
|
# Generated by extract-fw-host-vars.py - review before committing!
|
|
# Place in: host_vars/<hostname>/ipt_firewall.yml
|
|
|
|
fw_manage_config: true
|
|
|
|
# --- Network
|
|
fw_ext_interfaces:
|
|
- "eth0"
|
|
fw_ext_ips_v4:
|
|
- "159.69.74.147"
|
|
fw_ext_ips_v6:
|
|
- "2a01:4f8:231:19a7::147"
|
|
fw_local_interfaces:
|
|
- "eth1"
|
|
|
|
# --- Munin
|
|
munin_remote_ipv4: 37.27.121.227
|
|
munin_remote_ipv6: "2a01:4f9:3070:2bda::227"
|
|
|
|
# --- Outgoing / interfaces
|
|
fw_unprotected_ifs: eth1
|
|
|
|
# --- Access control IPv4
|
|
fw_allow_local_service_v4: "8065:tcp"
|
|
|
|
# --- Access control IPv6
|
|
fw_allow_local_service_v6: "8065,tcp"
|
|
|
|
# --- HTTP
|
|
fw_http_server_ips: $ext_1_ip
|
|
|
|
# --- Mail
|
|
fw_mail_client_ips: $ext_1_ip
|
|
|
|
# --- Mattermost
|
|
fw_mm_server_ips: $ext_1_ip
|
|
|
|
# --- Protection / limits
|
|
fw_limit_connections_per_source_IP: false
|