Skip to main content

Network Security

Enterprise Feature

Network Security is available exclusively with an Enterprise license. The required feature flag is microsegmentation.

The Network Security page brings the Proxmox VE firewall of a connection into one place: its posture, a zone-based micro-segmentation, every rule of the cluster, the hosts and the guests in a single table, the firewall logs, and the shared objects (security groups, IP sets and aliases).

Overview​

Proxmox VE includes a built-in firewall based on iptables/nftables, but managing rules across dozens of VMs and multiple nodes through individual Proxmox web interfaces is tedious and error-prone. ProxCenter aggregates all firewall configuration into a single view, letting you define, audit, and enforce network security policies across your entire infrastructure from one place.

Nested diagram of the Proxmox firewall levels as ProxCenter shows them. The outer level is the datacenter, in the Cluster rules section of Firewalling, with the Cluster Firewall switch, Policy IN / OUT and the datacenter rules. Inside it, the node, in its Host section, has its node firewall switch and the host rules for the hypervisor itself. Inside the node, the guest, in its guest section, has its VM firewall switch, Policy IN / OUT, its VM rules and log_level_in / out. Innermost, highlighted, the network interface net0 carries its own firewall=1 flag: without it, the guest rules filter nothing on that interface. Beside the levels, Security Groups (named rule sets), Aliases (named addresses) and IP Sets (address lists) are shared objects referenced by rules at any level. Below, the switch paths: a rule filters traffic only when every switch on its path is on. Host rules need Cluster Firewall and the node firewall; guest rules need Cluster Firewall, the VM firewall and firewall=1 on the NIC.Nested diagram of the Proxmox firewall levels as ProxCenter shows them. The outer level is the datacenter, in the Cluster rules section of Firewalling, with the Cluster Firewall switch, Policy IN / OUT and the datacenter rules. Inside it, the node, in its Host section, has its node firewall switch and the host rules for the hypervisor itself. Inside the node, the guest, in its guest section, has its VM firewall switch, Policy IN / OUT, its VM rules and log_level_in / out. Innermost, highlighted, the network interface net0 carries its own firewall=1 flag: without it, the guest rules filter nothing on that interface. Beside the levels, Security Groups (named rule sets), Aliases (named addresses) and IP Sets (address lists) are shared objects referenced by rules at any level. Below, the switch paths: a rule filters traffic only when every switch on its path is on. Host rules need Cluster Firewall and the node firewall; guest rules need Cluster Firewall, the VM firewall and firewall=1 on the NIC.
Writing a rule is not enforcing it: a rule only filters traffic when every switch between the datacenter and the interface is on.

Interface Tabs​

The page has seven tabs: Dashboard, Micro-segmentation, Firewalling, Logging, Security Groups, IP Sets and Aliases. The Connection selector on the right of the tab bar decides which cluster every tab shows; the page remembers the last connection you picked.

If a data-loading error appears, resolve the connection or native API permission error before interpreting zero counts as an empty configuration.

Dashboard​

The Dashboard shows the observed traffic of the connection and where the policy stands.

Network Security Dashboard on Production Cluster: Traffic by zone donut grouped by source zone with app, monitoring, Unknown / External, web and db and their zone states, the Observed traffic over time chart with the All, Would be blocked and Blocked verdicts and the 1 h, 6 h, 24 h and 7 d ranges, the Observed traffic distribution tiles (80 % east-west, 20 % unknown source, 9 allowed flows, 10 flows that would be blocked, 3 blocked flows), Top services by hits and Top conversations
The Dashboard: traffic by zone, its evolution over time, and the services and conversations that still await a decision.
PanelWhat it shows
Traffic by zoneA donut of the observed hits per group, with the exchanges between groups. Group by switches between the source zone, the destination zone, the VLAN and the node. Each zone carries its state.
Observed traffic over timeThe observed events stacked per group, filtered by verdict (All, Would be blocked, Blocked) and direction, over 1 hour to 7 days. When sFlow is configured, a Volume (sFlow) view shows the bytes per group.
Observed traffic distributionThe share of east-west traffic and of unknown sources, and the number of flows Allowed, Would be blocked (awaiting a decision) and Blocked. Each tile opens the matching list.
Top services by hitsThe services seen most, with their status.
Top conversationsSource to destination, by hits, with their services and status.

Allowed flows carry no counter: Proxmox does not log what it lets through, so their hits are not counted.

Micro-segmentation​

The Micro-segmentation tab groups guests into zones, observes the real traffic, and blocks zone by zone. It has its own page: Micro-segmentation.

Firewalling​

Firewalling shows every rule of the connection in one table, in sections:

  • Micro-segmentation · zone sections: the security group of each zone, with its state and its hits over the last 24 hours. Engine rules are read-only here: you edit them as their flow, their zone or their exception.
  • Cluster rules: the datacenter rules, applied to all hosts.
  • Host sections, one per node, with its status. Their rules are read when you open the section.
  • Guests, grouped by VLAN and paged, with how many are protected by the micro-segmentation. A guest's rules are read when you open it.

The Scope selector (All, Cluster, Hosts, VMs) and the filter (IP, port, group, VM) narrow the table.

Firewalling tab on Production Cluster with the scope selector, the filter, Publish (1), Discard changes, Refresh and More, the Cluster rules section opened with one unpublished change: seven rules with their active switch, direction, name, source, destination, service, Applied To, action and log, rule 2 marked unpublished and disabled, a Default deny rule logged, and a group rule for the management security group, then the Host sections of the nodes
Every change waits in the draft, marked unpublished, until you publish it.

Edits wait in a draft. Turning a rule on or off, changing its action or log, adding, editing, cloning, moving or deleting rules, and changing firewall options are kept in a draft per connection and marked new, unpublished, moved or disabled. Nothing is written to Proxmox until you click Publish. Discard changes drops the draft, and each section can discard its own changes from its menu.

Select rules with their checkboxes to act on several at once: Enable, Disable, Clone (a copy right below each selected rule, ready to edit), Move up, Move down, Move to section, Delete. Drag a rule by its handle to reorder it. Add rule on a section adds a rule there.

Publishing. ProxCenter writes the changes to Proxmox one after the other. Before the first write on a rule list, it checks that the list has not changed in Proxmox since it was read; if it has, the publish stops on that section, which shows changed in Proxmox, and the other sections keep their changes. A publish of more than 50 changes asks for confirmation. If a change fails, the publish stops there: what was applied is kept, and the rest stays in the draft for the next Publish.

Firewall options. Firewall options in a section's menu sets the firewall switch, the inbound and outbound policies and the log levels of the cluster, a host or a guest. A guest or host whose firewall is off says so in its section, with enable firewall. Options are written when you publish, like the rules.

warning

Enabling the cluster firewall or changing the default policy to DROP without proper rules in place can lock you out of your Proxmox nodes. Always ensure management access rules are in place before publishing such changes.

To inspect the cluster's log rate limit and ebtables values, select the cluster in Infrastructure > Inventory and open its Firewall tab. Those values are read-only there.

Logging​

Open Logging and choose one element in the selector: the cluster, a node, a guest or a security group. Its firewall log is read on demand. If the result is empty, check that logging is enabled for that element and review its log level.

Logging tab with the Firewall log of selector opened on its groups: Cluster with Datacenter and host rules, Nodes pve1 to pve3, and VMs and containers with their node
Pick one element in the selector; its firewall log is read on demand.

The selector also offers Micro-segmentation (zone guests), once the connection has a micro-segmentation policy with an applied revision. It lists the flows the zone engine saw, newest first, with their zone, guest and verdict (Would be blocked in an observing zone, Blocked in an enforcing one), filtered by zone and verdict. These events come from the orchestrator's memory, which reads the node logs every minute, so they cost no extra Proxmox call; the oldest lines are dropped as new ones arrive.

Security Groups​

Security groups are reusable collections of firewall rules. Define a group once (e.g., "Web Servers" with rules allowing ports 80 and 443) and apply it to any number of VMs -- changes to the group automatically propagate to all associated VMs.

Security Groups tab with sg-base, sg-db and sg-web, each with its rule count, guest count chip and members link button, sg-web expanded with its HTTP and HTTPS rules and a Cluster chip for its datacenter reference
Each group shows its rules, how many guests reference it and where else it is used.

For each security group, you can:

  • View and edit the rules it contains
  • See which VMs reference the group, and attach or detach guests directly
  • Add new rules with full control over direction (IN/OUT), action (ACCEPT, DROP, REJECT), protocol, source, destination, port, and log level

Attaching a group to guests. Each group row carries a chip with the number of guests that reference it, and a link button next to it. Both open the group's members dialog, where you can:

  • Attach the group to one or several guests in a single step, picking them from a searchable list
  • Detach it from a guest that currently references it

Attaching a group is not a separate object: ProxCenter inserts a rule of type group into the guest's own firewall rule list, exactly as the Proxmox interface does. That is also why the same operation is available one guest at a time from the guest's Firewall tab, and why the resulting entry can be reordered, disabled, or removed from either place.

If an attach fails on one guest of a batch, the ones that succeeded are kept and ProxCenter names the ones that did not, so you can retry only those.

Members of sg-web dialog with app-01 and cache-01 picked in Guests to attach, the Attach button, and web-01 and web-02 listed as attached guests with their detach buttons
Pick several guests and attach the group in one step; detach a guest from its row.
info

Membership is derived, not stored. ProxCenter reads the rule list of each guest of the selected connection to find out which groups it references, which has two consequences: the count only covers guests you are allowed to see, and it is capped at 200 non-template guests per connection. When the scan is truncated, the dialog and the chip tooltip say so instead of reporting a smaller number as final.

A group can also be referenced by datacenter-level and node-level rules. The group row shows those references separately from the guest count, so a group that looks unused by guests is not mistaken for an unused group.

tip

Node-level references are only counted once the node's Host section has been opened in Firewalling in the current session, because that is where node rules are read from. Open the Host sections first if you are auditing a group before deleting it.

Aliases​

Click New in Aliases. Enter Name, CIDR and an optional Description, then click Create. The connection credentials must allow the native firewall write.

Create Alias dialog with Name, CIDR, Description and Create controls
Name an address or subnet so rules can refer to it consistently.

Aliases let you assign human-readable names to IP addresses or CIDR ranges. Instead of remembering that 10.0.5.20 is your monitoring server, create an alias called monitoring and reference it in your firewall rules.

  • Create, edit, and delete aliases
  • Use aliases in any firewall rule source or destination field
  • Share aliases across the entire cluster
Aliases tab listing backup-pbs 192.0.2.201, dns1 192.0.2.53 and mgmt-net 192.0.2.0/24 with their descriptions, edit and delete actions, and the New button
The Aliases tab lists every named address of the connection.

IP Sets​

IP sets are named collections of IP addresses or CIDR ranges. They are useful when a firewall rule needs to reference multiple IPs -- for example, allowing access from a list of trusted management workstations.

IP Sets tab with the set admins (Admin workstations) holding 192.0.2.11, 192.0.2.12 and 198.51.100.0/28, its Add, edit and delete actions, and the New button
Each IP set lists its entries; add one from the set's row and remove one from its chip.

For each IP set, you can:

  • Add and remove IP entries
  • Reference the IP set in firewall rules using the +ipsetname syntax
  • Manage entries for the selected connection
tip

Combine aliases for single hosts and IP sets for groups of hosts to keep your firewall rules clean and readable.

Rule Log Level​

Every firewall rule can carry a Proxmox log level, which decides whether a match is written to the firewall log and with which severity. ProxCenter exposes the nine values Proxmox accepts:

ValueMeaning
nologThe rule does not log. This is the Proxmox default, and the value ProxCenter pre-selects on a new rule
emerg, alert, crit, errSyslog severities for conditions worth alerting on
warning, notice, info, debugProgressively more verbose severities

The level is set from a Log level select in the add and edit rule dialogs at every scope: datacenter, node, guest, and security group rules. It also appears as a Log column in the rules tables, where a rule that does not log is rendered as a dash.

Add rule dialog for the security group sg-base with type IN, action ACCEPT, protocol TCP, source +admins, destination port 22, and the Log level list opened on nolog with the eight other levels
Every rule dialog carries a Log level; new rules start at nolog.
info

This per-rule level is not the same setting as the log_level_in and log_level_out options found in a datacenter's, a node's, or a guest's firewall options. Those govern the traffic handled by the default policy, while the per-rule level applies only to matches of that one rule.

warning

There is no inherit state for a rule's log level. A rule created outside ProxCenter without one is displayed as nolog, and saving it from a ProxCenter dialog writes nolog explicitly. The filtering behavior is identical, but the rule is rewritten.

Firewall Data Without the Orchestrator​

ProxCenter normally reads and writes firewall configuration through the orchestrator. When no orchestrator is reachable it falls back to the Proxmox API directly, using the connection's stored credentials, so the firewall views are populated instead of empty. This is what an installation running the interface without the orchestrator service relies on.

The fallback covers writes as well as reads:

ObjectAvailable without an orchestrator
Datacenter, node, and guest rulesRead, create, edit, reorder, enable, disable, delete
Datacenter, node, and guest firewall optionsRead and update
Security groups and their rulesRead, create, delete, and attach or detach on a guest
Aliases and IP setsRead, create, update, delete
A guest's firewall logRead
A guest's per-interface firewall toggleUpdate

A Publish from the Firewalling tab always writes to the Proxmox API directly, with or without an orchestrator, because it checks each rule list against Proxmox before writing to it. The Micro-segmentation tab, on the other hand, needs the orchestrator: its engine runs there.

info

The fallback triggers when the orchestrator refuses the connection or cannot be resolved, which is what a stopped orchestrator looks like on the network. An orchestrator that answers with an error, or that hangs until the request times out, is treated as a failure rather than as an absence, and the error is reported instead of being silently worked around.

info

The per-object Firewall tabs on a datacenter, a node and a guest are available in every edition, and they are the views this fallback keeps usable. The centralized Network Security page requires an Enterprise license with the microsegmentation feature.

Tenant VLAN Segmentation​

On a multi-tenant install, a vDC tenant can be given VLAN pools: ranges of VLAN IDs, on named bridges, that the tenant may build its own networks in. The pools are declared by the provider in Settings > Virtual Datacenters and are the whole of what the tenant may reach on layer 2. The operator workflow is described in Virtual Datacenters; this section covers the enforcement side. (Enterprise)

Two independent checks​

A VLAN tag can enter the cluster through two doors, and both are guarded:

  1. Creating a network. A tenant asking for a VLAN network on a bridge must have a pool on that bridge. A tag it types must fall inside one of the vDC's ranges for that bridge, and must not already be carried on that bridge, whether by another vDC's network or by a zone the provider built directly in Proxmox. Leaving the field empty makes ProxCenter pick the lowest free tag in the ranges.
  2. Writing a guest NIC. The netN string a tenant submits is parsed rather than trusted. The bridge must be one the vDC holds, and any tag= or trunks= value must fall inside the vDC's pools for that bridge.

The NIC check runs on every path that writes a guest network config: creating a VM or a container, editing a guest config, cloning a guest, and deploying from the templates wizard.

Diagram of tenant VLAN enforcement on the cluster pve-lab-a. Two tenants hold VLAN pools on the bridge vmbr1: vDC A with tags 100 to 199 and vDC B with tags 200 to 299. Door 1, Create VNet with type VLAN, checks that the vDC has a pool on the bridge, that the tag is inside its ranges and not already on the bridge, and takes the lowest free tag when the field is empty: vDC A creates web with no tag and vDC B creates db with tag 200. Door 2, a guest NIC write on create, edit, clone or deploy, requires a bridge the vDC holds and tag= and trunks= values inside its pools, and refuses a tag on an SDN VNet: vDC B writing net0 tag=100 is refused at the door, while net0 tag=200 is written on the shared bridge vmbr1. VNets from door 1 land in the provider VLAN zone, one shared SDN zone per bridge on vmbr1, holding web on tag 100 for vDC A and db on tag 200 for vDC B, where Proxmox refuses a duplicate tag. Each vDC also keeps its own VXLAN zone, VNI 10000 and 10001, allocated from 10000 upward, above any VLAN tag.Diagram of tenant VLAN enforcement on the cluster pve-lab-a. Two tenants hold VLAN pools on the bridge vmbr1: vDC A with tags 100 to 199 and vDC B with tags 200 to 299. Door 1, Create VNet with type VLAN, checks that the vDC has a pool on the bridge, that the tag is inside its ranges and not already on the bridge, and takes the lowest free tag when the field is empty: vDC A creates web with no tag and vDC B creates db with tag 200. Door 2, a guest NIC write on create, edit, clone or deploy, requires a bridge the vDC holds and tag= and trunks= values inside its pools, and refuses a tag on an SDN VNet: vDC B writing net0 tag=100 is refused at the door, while net0 tag=200 is written on the shared bridge vmbr1. VNets from door 1 land in the provider VLAN zone, one shared SDN zone per bridge on vmbr1, holding web on tag 100 for vDC A and db on tag 200 for vDC B, where Proxmox refuses a duplicate tag. Each vDC also keeps its own VXLAN zone, VNI 10000 and 10001, allocated from 10000 upward, above any VLAN tag.
The two doors a VLAN tag can enter through, and the shared zone behind them. A tag outside the vDC's own pools is refused at either door.

What is refused​

AttemptResult
A bridge the vDC does not holdRefused, with the list of bridges the vDC does hold
tag= or trunks= outside the vDC's poolsRefused, naming the tag and the bridge
A tag on an SDN VNetRefused. A VNet already carries its own tag; adding one would put the guest somewhere else
A repeated tag= or trunks= key in one config stringRefused outright, so a foreign value cannot ride in behind a legitimate one
A trunks= list expanding beyond 4094 idsRefused as a whole, rather than expanded
A VLAN network on a bridge with no pool for this vDCRefused
info

A VLAN pool only widens a bridge the vDC already receives as a shared bridge. It never opens a bridge on its own, so a leftover pool row cannot hand a tenant an unrelated uplink.

The shared zone backstop​

All VLAN networks of a cluster share one provider-owned SDN zone per bridge, created automatically on first use and never deleted. That is deliberate: Proxmox enforces tag uniqueness inside a zone but not across zones, so keeping every tenant VLAN in the same per-bridge zone makes Proxmox itself the last line of defense. Two vDCs racing for the same tag end in a Proxmox error, not in a shared broadcast domain.

VXLAN VNIs are allocated from 10000 upward, cluster-wide, so a VLAN tag can never collide with a VNI on the same cluster.

Per-network firewall​

A tenant network carries its own firewall flag, set from the create dialog and shown as a chip in the Virtual Networks table. Rules on a VNet are managed like any other Proxmox firewall object and are covered by the same fallback described above when no orchestrator is reachable.

Multi-Connection Support​

If you have multiple Proxmox clusters connected to ProxCenter, the Connection selector on the right of the tab bar switches between them. Every tab reflects the selected connection, and each connection has its own micro-segmentation policy and its own Firewalling draft.

Permissions​

PermissionDescription
automation.viewShow Network Security in the provider-tenant menu
node.viewRead the selected connection's firewall status, aliases, IP sets, rule data and micro-segmentation
node.manageChange native firewall objects, options and rules, publish the Firewalling draft, and change the micro-segmentation on the selected connection

The page also requires the Enterprise Microsegmentation feature and provider-tenant context. ProxCenter permissions and native Proxmox ACLs are checked separately: the connection's API token also needs the required native write access on the firewall object.