With no port forward rules the model loads a virtual template rule, and
DNatSequenceField numbered its empty sequence on load, so the first rule
added got 200 rather than 100. Skip virtual nodes.
The address family check on a blocklist's source networks used
strpos($x, ':') == false, which is also true at position 0, so a network
such as ::/64 counted as IPv4. Two IPv6 networks were refused as mixed
(::/64,2001:db8::/64) and a mixed list was accepted (::/24,10.0.0.0/24).
The reference to ident.check001 sat straight under <Constraints>, where
getConstraintValidators() skips it, so the identifier pair was only
checked when the local identifier changed.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The four ComparedToFieldConstraint options sat straight under
<Constraints> without a name, so getConstraintValidators() skipped
them. Gateways::performValidation() already checks both threshold
pairs.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>