modify nodes and bundles for new nftables syntax
This commit is contained in:
parent
ecb67d012b
commit
d569b00960
30 changed files with 172 additions and 126 deletions
|
@ -182,11 +182,11 @@ def hosts_entries_for_all_dns_servers(metadata):
|
|||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'iptables/port_rules',
|
||||
'firewall/port_rules',
|
||||
)
|
||||
def iptables(metadata):
|
||||
def firewall(metadata):
|
||||
return {
|
||||
'iptables': {
|
||||
'firewall': {
|
||||
'port_rules': {
|
||||
'53': atomic(metadata.get('powerdns/restrict-to', {'*'})),
|
||||
'53/udp': atomic(metadata.get('powerdns/restrict-to', {'*'})),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue