Files

45 lines
1.1 KiB
YAML

---
# ipt-firewall configuration for web.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.74"
fw_ext_ips_v6:
- "2001:678:a40:3000::74"
# --- Munin
munin_remote_ipv4: 192.68.11.73
munin_remote_ipv6: "2001:678:a40:3000::73"
fw_munin_server_ips_v6: "2001:678:a40:3000::73"
# --- Access control IPv4
fw_allow_ext_service_v4: "192.68.11.72:3306:tcp 192.68.11.77:1036:tcp 192.68.11.79:1036:tcp 138.201.23.195:1036:tcp"
# --- Access control IPv6
fw_allow_ext_service_v6: "2001:678:a40:3000::72,3306,tcp 2001:678:a40:3000::77,1036,tcp 2001:678:a40:3000::79,1036,tcp 2a01:4f8:171:2895::195,1036,tcp"
# --- SSH
fw_ssh_ports: 1036 22
# --- HTTP
fw_http_server_ips: $ext_ips
# --- Mail
fw_mail_client_ips: $ext_ips
fw_dovecot_auth_port: 44444
# --- FTP
fw_ftp_server_ips: $ext_1_ip
# --- Out ports
fw_tcp_out_ports: 1036
# --- Block
fw_blocked_ips_v4: 222.184.0.0/13 61.160.0.0/16 116.8.0.0/14