nft's table inet is IPv4+IPv6 aware, no need for special IPv6 rule
This commit is contained in:
parent
ebbc77db04
commit
c85bd24126
1 changed files with 0 additions and 6 deletions
|
@ -28,13 +28,7 @@ class dns::apache2 {
|
||||||
sunet::nftables::rule { 'apache-http':
|
sunet::nftables::rule { 'apache-http':
|
||||||
rule => "add rule inet filter input tcp dport 80 counter accept comment \"allow-apache2-http\""
|
rule => "add rule inet filter input tcp dport 80 counter accept comment \"allow-apache2-http\""
|
||||||
}
|
}
|
||||||
#sunet::nftables::rule { 'apache-http-v6':
|
|
||||||
# rule => "add rule inet6 filter input tcp dport 80 counter accept comment \"allow-apache2-http\""
|
|
||||||
#}
|
|
||||||
sunet::nftables::rule { 'apache-https':
|
sunet::nftables::rule { 'apache-https':
|
||||||
rule => "add rule inet filter input tcp dport 443 counter accept comment \"allow-apache2-https\""
|
rule => "add rule inet filter input tcp dport 443 counter accept comment \"allow-apache2-https\""
|
||||||
}
|
}
|
||||||
#sunet::nftables::rule { 'apache-https-v6':
|
|
||||||
# rule => "add rule inet6 filter input tcp dport 443 counter accept comment \"allow-apache2-https\""
|
|
||||||
#}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue