router(host): allow internet to access v6 exposed networks
Some checks failed
/ Ansible Lint (push) Failing after 47s

This commit is contained in:
June 2025-09-21 02:24:50 +02:00
commit 656aaf405b
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -13,6 +13,7 @@ define wan_ifs = { $if_net1_v4_wan,
$if_net2_v6_wan } $if_net2_v6_wan }
define lan_ifs = { $if_net0_2_v4_nat, define lan_ifs = { $if_net0_2_v4_nat,
$if_net0_3_ci_runner } $if_net0_3_ci_runner }
define v6_exposed_ifs = { $if_net0_2_v4_nat }
## Rules ## Rules
@ -69,5 +70,8 @@ table inet forward {
# Allow internet access. # Allow internet access.
meta nfproto ipv6 iifname $lan_ifs oifname $if_net2_v6_wan accept comment "allow v6 internet access" meta nfproto ipv6 iifname $lan_ifs oifname $if_net2_v6_wan accept comment "allow v6 internet access"
meta nfproto ipv4 iifname $lan_ifs oifname $if_net1_v4_wan accept comment "allow v4 internet access" meta nfproto ipv4 iifname $lan_ifs oifname $if_net1_v4_wan accept comment "allow v4 internet access"
# Allow access to exposed networks from internet.
meta nfproto ipv6 oifname $v6_exposed_ifs accept comment "allow v6 exposed network access"
} }
} }