Skip to content
  • Phillip Smith (fukawi2)'s avatar
    break postgres client ips into separate variables · 7bd299a3
    Phillip Smith (fukawi2) authored
    we have to use rich rules in firewalld to restict a specific port to a list of
    specific ip addresses. when using rich rules, you have to specify the address
    family (ipv4 or ipv6) which we can't do in an automated fashion with the ipv4
    and ipv6 addresses of the clients dynamically generated into a single variable.
    so this commit creates 2 variables; one for ipv4 clients and one for ipv6
    clients which can be referred to as required when creating the rich rules.
    7bd299a3