router(host): allow internet to access v6 exposed networks
Some checks failed
/ Ansible Lint (push) Failing after 47s
Some checks failed
/ Ansible Lint (push) Failing after 47s
This commit is contained in:
parent
06d8944ad7
commit
656aaf405b
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ define wan_ifs = { $if_net1_v4_wan,
|
|||
$if_net2_v6_wan }
|
||||
define lan_ifs = { $if_net0_2_v4_nat,
|
||||
$if_net0_3_ci_runner }
|
||||
define v6_exposed_ifs = { $if_net0_2_v4_nat }
|
||||
|
||||
|
||||
## Rules
|
||||
|
@ -69,5 +70,8 @@ table inet forward {
|
|||
# Allow 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"
|
||||
|
||||
# Allow access to exposed networks from internet.
|
||||
meta nfproto ipv6 oifname $v6_exposed_ifs accept comment "allow v6 exposed network access"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue