fix(k3s): fixed invalid ip6 FW rule
This commit is contained in:
parent
ab41f3ffc0
commit
5cb62c1ca3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ table inet filter {
|
||||||
chain input {
|
chain input {
|
||||||
# operators access
|
# operators access
|
||||||
{%+ if k3s_nft_operators4 %}ip saddr { {{ k3s_nft_operators4 | join(', ') }} } tcp dport { 6443 } accept{%- endif +%}
|
{%+ if k3s_nft_operators4 %}ip saddr { {{ k3s_nft_operators4 | join(', ') }} } tcp dport { 6443 } accept{%- endif +%}
|
||||||
{%+ if k3s_nft_operators6 %}ip saddr { {{ k3s_nft_operators6 | join(', ') }} } tcp dport { 6443 } accept{%- endif +%}
|
{%+ if k3s_nft_operators6 %}ip6 saddr { {{ k3s_nft_operators6 | join(', ') }} } tcp dport { 6443 } accept{%- endif +%}
|
||||||
|
|
||||||
# required only for HA with embedded etcd
|
# required only for HA with embedded etcd
|
||||||
{%+ if k3s_nft_servers4 %}ip saddr { {{ k3s_nft_servers4 | join(',') }} } tcp dport { 2379, 2380 } accept{%- endif +%}
|
{%+ if k3s_nft_servers4 %}ip saddr { {{ k3s_nft_servers4 | join(',') }} } tcp dport { 2379, 2380 } accept{%- endif +%}
|
||||||
|
|
Loading…
Add table
Reference in a new issue