Reference For: administrators, tenants, developers

Firewall reference

Tables of the distributed firewall: rule and policy fields, actions, directions, categories, profiles, templates, modes, protection states and limits.

This page lists the values of the distributed firewall as the console and the API show them. The API names are in code font.

Rule fields

ConsoleAPI fieldValues
NamenameText. Names that start with sys: are reserved for built-in objects
Directiondirectionin, out, in-out (default)
Actionactionallow, drop, reject, pass
IP versionsipVersionany (default), v4, v6
Sourcessources, sourcesNegatedGroups, addresses or prefixes. Empty means any. With sourcesNegated, everything except the list
Destinationsdestinations, destinationsNegatedAs the sources
ServicesservicesService entries. Empty means any IP traffic
Applied toappliedToGroups. Empty means the groups of the policy
Log matchesloggedtrue or false
Enabledenabledtrue (default) or false
NumbernumberGiven by Kyvernon, one counter for the whole domain. Numbers from 0xF0000000 up belong to rules that the platform maintains

Policy fields

ConsoleAPI fieldValues
NamenameText, unique per scope
DescriptiondescriptionText
Categorycategoryemergency, infrastructure, environment, application
SequencesequenceOrder inside the category, lowest first. Provider policies in Environment and Application use values below 1,000,000, tenant policies 1,000,000 and above. Without a value, the policy goes after the last one
Statefulstatefultrue (default): replies to allowed traffic are allowed. false: replies need their own rule
Enabledenabledtrue or false
Applied toappliedToGroups. Empty means every network adapter in the scope

Service entries

protocolFieldsConsole text
tcp, udp, sctpports: ports or ranges such as 443 or 8000-8100, 1 to 65535. Empty means any portTCP 443, UDP any port
icmp4, icmp6icmpType, icmpCode. A code needs a typeICMPv4 type 8
ipnumber: the IP protocol number, for example 47 for GREIP protocol 47
namedid: a service by name, such as SSH or HTTPSThe name of the service

Actions

ActionConsoleEffect
allowAllowThe packet passes. In a stateful policy the replies pass as well
dropDropThe packet is discarded without an answer
rejectRejectThe packet is discarded and the sender is answered: a TCP reset, or an ICMP unreachable message for other protocols
passPassEnds the evaluation of the current category and continues with the next. Not allowed in the category Application

Default actions of a profile are allow, drop or reject.

Directions

ValueConsoleMeaning
inInboundTraffic that arrives at the network adapter
outOutboundTraffic that leaves the network adapter
in-outBothBoth. A rule applies at the adapter of each end

Categories

OrderCategoryWho may use itUse
1EmergencyProviderEvaluated first. Emergency bypass rules
2InfrastructureProviderPlatform rules, such as the block of outbound mail
3EnvironmentProvider and tenantsRules between zones and environments
4ApplicationProvider and tenantsRules of the applications, evaluated last

Inside a category, policies follow their sequence and rules follow their position. The first rule that matches with allow, drop or reject decides. When none matches, the default action of the profile applies.

Origins of effective rules

ValueConsoleMeaning
providerProviderA rule of a provider policy
tenantTenantA rule of a tenant policy
baselineBaselineA rule of the baseline policy of the profile
systemSystemA rule that the platform maintains
defaultDefaultThe default action of the profile, with the number n/a

Default profiles

ProfileInboundOutboundBaselineChosen by tenants
public-defaultdropallowallow TCP 22, ICMPv4 echo and ICMPv6 echoYes
private-defaultallowallowNoneNo
closeddropallowNoneYes
openallowallowNoneNo

An adapter with an address from an IP pool starts with public-default, and an adapter with a range lease on a host-bridge network with private-default. The choice for tenants is the setting Tenants may choose it of the profile, and the values above are those that the platform ships. See Default profiles.

Templates

Each template adds inbound allow rules to the own policy of a virtual machine.

TemplateRules
ssh-onlyTCP 22 and ICMP echo
webTCP 22, 80 and 443 and ICMP echo
mail-serverTCP 22, 25, 465, 587, 143, 993, 110 and 995 and ICMP echo. Outbound port 25 is a separate switch

A provider administrator can add templates of 1 to 50 rules. Their rules are inbound allow rules with services and addresses, never groups.

Modes

ValueConsoleEffect
offOffTraffic is switched as before the firewall existed. Nothing is filtered. New and existing adapters start here unless the setting Enforce new network adapters is on
monitorMonitorThe rules run, packets that would be dropped are counted and reported, and every packet is forwarded
enforceEnforcePackets that no rule allows are dropped or rejected

Protection states

ValueConsoleMeaning
enforcedEnforcedThe adapter is firewalled in the mode enforce
monitorMonitoringThe adapter is firewalled in the mode monitor
offOffThe mode is off
unprotectedUnprotectedThe adapter cannot be firewalled. The reason is linux_or_quarantine_bridge or port_security_off

Realization states

StateConsoleMeaning
realizedIn forceThe host applied the version that the control plane wants
waitingWaiting for the hostThe host applies an older version
preconditionPrecondition not metThe host does not meet a condition, such as ct-zone-range
errorErrorThe host could not apply the plan and keeps the previous version

Settings

ConsoleAPI fieldDefault
Flow limit per bridgeflowLimitPerBridge100,000
Tracked connections per adapterctLimitPerPort65,536
Days a monitor report coversmonitorReportDays7
Log rate per hostlogRatePps100 packets per second
Reject rate per bridgerejectRatePps200 answers per second
Enforce new network adaptersenforceNewOff

Limits

ItemLimit
Rules in one policy1,000
Groups in the domain10,000
Nesting of groups5 levels
Addresses that one group resolves to4,096
Entries on a negated side of a rule64
Mode confirmation timer30 to 86,400 seconds in the API and the CLI. The console offers 1, 5, 10, 30 minutes, 1 hour and 4 hours
Bypass duration60 to 86,400 seconds in the API and the CLI, 1,800 by default. The console offers 5, 15, 30 minutes, 1, 4, 12 and 24 hours
Bypass reason1 to 500 characters
Log records keptThe last 30 days, at most 50,000 for all hosts
Log records in one answer500 by default, at most 5,000
Counters kept400 days after the last hit
Monitor entries kept90 days after they were last seen, 16 sample sources for each

Tenant quotas apply to the objects of one tenant. When no value is set, the default applies, and it is not unlimited.

QuotaAPI fieldDefault
GroupsfwGroups100
PoliciesfwPolicies50
Rules in all policiesfwRules500
Group members, including tag criteriafwGroupMembers1,000

Privileges

PrivilegeAllowsIn tenant roles
Kyvernon.Firewall.ReadRead groups, services, policies, rules, effective rules, counters and realizationYes
Kyvernon.Firewall.ManageGroupsCreate, change and delete groups and servicesYes
Kyvernon.Firewall.ManagePoliciesPolicies and rules in Environment and Application, open ports, templatesYes
Kyvernon.Firewall.SetProfileChoose a selectable profile for an adapterYes
Kyvernon.Firewall.ManageProviderPolicies in Emergency and Infrastructure, shared groups, profiles, settings, the mode of an adapterNo
Kyvernon.Firewall.ReadLogsRead log records and monitor reportsYes
Kyvernon.Firewall.BypassEnable and end an emergency bypassNo

The tenant administrator role holds the privileges for reading, groups, policies, profiles and logs. The tenant user role can read. See Privileges.

Version 0.1. Last changed: 2026-11-14