netbirdio/netbird · error
skipping firewall rule
Error message
skipping firewall rule: %s
What it means
A firewall rule was skipped because its protocol or action could not be converted from the management proto enum. The message marks an intentional skip of an unconvertible field, keeping the rest of the ACL set installable.
Solutions
- Identify which rule field is unconvertible via the wrapped error
- Align management and client protocol versions
- Log and skip incompatible rules rather than failing the whole policy
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at client/internal/acl/manager.go:289 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of netbirdio/netbird@93e97f4bf1 (2026-08-16).
Data as JSON: /api/errors/8185729347eca3a6.
Report an issue: GitHub.
Appendix: source
Thrown at client/internal/acl/manager.go:289
if err != nil {
return "", fmt.Errorf("add route rule: %w", err)
}
return id.RuleID(addedRule.ID()), nil
}
func (d *DefaultManager) protoRuleToFirewallRule(
r *mgmProto.FirewallRule,
ipsetName string,
) (id.RuleID, []firewall.Rule, error) {
ip, err := extractRuleIP(r)
if err != nil {
return "", nil, err
}
protocol, err := convertToFirewallProtocol(r.Protocol)
if err != nil {
return "", nil, fmt.Errorf("skipping firewall rule: %s", err)
}
action, err := convertFirewallAction(r.Action)
if err != nil {
return "", nil, fmt.Errorf("skipping firewall rule: %s", err)
}
var port *firewall.Port
if !portInfoEmpty(r.PortInfo) {
port = convertPortInfo(r.PortInfo)
} else if r.Port != "" {
// old version of management, single port
value, err := strconv.Atoi(r.Port)
if err != nil {
return "", nil, fmt.Errorf("invalid port: %w", err)
}
port = &firewall.Port{
Values: []uint16{uint16(value)},View on GitHub (pinned to 93e97f4bf1)