40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
---
|
|
# ipt-firewall configuration for o21.oopen.de
|
|
# 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:
|
|
- "enp1s0"
|
|
fw_ext_interfaces_v6:
|
|
- "enp7s0"
|
|
fw_ext_ips_v4:
|
|
- "83.223.90.20"
|
|
fw_ext_ips_v6:
|
|
- "2a01:31:0:2::f851:1"
|
|
|
|
# --- Munin
|
|
munin_remote_ipv4: 37.27.121.227
|
|
munin_remote_ipv6: "2a01:4f9:3070:2bda::227"
|
|
|
|
# --- Access control IPv4
|
|
fw_restrict_local_service_to_net_v4: "83.223.86.121/32:83.223.90.20:3306:tcp 83.223.86.122/32:83.223.90.20:3306:tcp 83.223.86.124/32:83.223.90.20:3306:tcp"
|
|
|
|
# --- Access control IPv6
|
|
fw_restrict_local_service_to_net_v6: "2a01:30:0:505:263:20ff:feaa:7783,2a01:31:0:2::f851:1,3306,tcp 2a01:30:0:13:263:20ff:feaa:7783,2a01:31:0:2::f851:1,3306,tcp 2a01:30:0:505:230:54ff:fe71:e8a8,2a01:31:0:2::f851:1,3306,tcp 2a01:30:0:13:230:54ff:fe71:e8a8,2a01:31:0:2::f851:1,3306,tcp"
|
|
|
|
# --- HTTP
|
|
fw_http_server_ips: $ext_ips
|
|
|
|
# --- Block
|
|
fw_blocked_ips_v4: 222.184.0.0/13 61.160.0.0/16 116.8.0.0/14
|
|
|
|
# --- Protection / limits
|
|
fw_limit_connections_per_source_IP: false
|
|
fw_limit_connections_per_source_IP_v6: true
|
|
fw_per_IP_connection_limit: 2048
|
|
fw_per_IP_connection_limit_v6: 1024
|
|
fw_limit_new_tcp_connections_per_seconds_per_source_IP: false
|