Files
oopen-server/host_vars/rage.so36.net/rage-ipt-server.yml
T

55 lines
1.3 KiB
YAML

---
# ipt-firewall configuration for rage.so36.net
# Generated by extract-fw-host-vars.py - review before committing!
# Place in: host_vars/<hostname>/<short-hostname>-ipt-server.yml
fw_manage_config: true
# --- Network
fw_ext_interfaces:
- "eth0"
fw_ext_ips_v4:
- "192.68.11.81"
- "192.68.11.90"
- "192.68.11.91"
fw_ext_ips_v6:
- "2001:678:a40:3000::81"
- "2001:678:a40:3000::90"
- "2001:678:a40:3000::91"
# --- Munin
munin_remote_ipv4: 192.68.11.73
munin_remote_ipv6: "2001:678:a40:3000::73"
# --- Access control IPv4
fw_allow_ext_service_v4: "192.68.11.77:1036:tcp 138.201.23.195:1036:tcp"
# --- Access control IPv6
fw_restrict_local_service_to_net_v6: "2001:678:a40:3000::79,$ext_1_ip,44444,tcp"
fw_allow_ext_service_v6: "2001:678:a40:3000::77,1036,tcp 2a01:4f8:171:2895::195,1036,tcp"
# --- SSH
fw_ssh_ports: 1036
# --- HTTP
fw_http_server_ips: $ext_ips
# --- Mail
fw_smtpd_ips: $ext_1_ip
fw_mail_server_ips: $ext_1_ip
fw_mail_client_ips: $ext_ips
fw_dovecot_auth_service: true
fw_dovecot_auth_service_v6: false
fw_dovecot_auth_port: 44444
fw_dovecot_auth_allowed_networks_v4: 192.68.11.79 83.223.85.204
# --- Rsync
fw_rsync_out_ips: $ext_1_ip
# --- Out ports
fw_tcp_out_ports: 1036
fw_tcp_out_ports_v6: ""
# --- Block
fw_blocked_ips_v4: 222.184.0.0/13 61.160.0.0/16 116.8.0.0/14