Files @ cf15a5f3d965
Branch filter:

Location: majic-ansible-roles/roles/backup_server/templates/ferm_backup.conf.j2

branko
MAR-218: Quote all octal modes to avoid ambiguity due to changes in YAML standard.
{% if backup_clients -%}
domain (ip ip6) {
    table filter {
        chain INPUT {
            saddr ({% for client in backup_clients %} {{ client.ip }}{% endfor %}) @subchain "backup_in" {
                # SSH
                proto tcp dport 2222 ACCEPT;
            }
        }
    }
}
{%- endif %}