You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems that I cannot have multiple (i.e. any) family for it. Instead I need to maintain two duplicate ipsets each with option family 'ipv4' and option family 'ipv6' to be able to use in rules such as:
config rule
option name 'FFA hosts can use the Internet'
option ipset 'FFA-to-Internet_v4'
option src 'lan'
option dest 'wan'
option target 'ACCEPT'
option family 'any'
list proto 'all'
config rule
option name 'FFA hosts can use the Internet'
option ipset 'FFA-to-Internet_v6'
option src 'lan'
option dest 'wan'
option target 'ACCEPT'
option family 'any'
list proto 'all'
in order to produce the following two NFT rules:
meta nfproto 2 ether saddr @FFA-to-Internet_v4 counter packets 65 bytes 6038 jump accept_to_wan comment "!fw4: FFA hosts can use the Internet" # handle 20166
meta nfproto 10 ether saddr @FFA-to-Internet_v6 counter packets 207 bytes 24765 jump accept_to_wan comment "!fw4: FFA hosts can use the Internet" # handle 20167
Could this family restriction on MAC based ipsets be lifted so that we don't have so much duplication and duplicated maintenance in the firewall config?
The text was updated successfully, but these errors were encountered:
If I have an ipset:
it seems that I cannot have multiple (i.e.
any
) family for it. Instead I need to maintain two duplicate ipsets each withoption family 'ipv4'
andoption family 'ipv6'
to be able to use in rules such as:in order to produce the following two NFT rules:
NFT allows the above to be in a single rule:
added manually with:
Could this family restriction on MAC based ipsets be lifted so that we don't have so much duplication and duplicated maintenance in the firewall config?
The text was updated successfully, but these errors were encountered: