How the Proxmox VE firewall isolates guests in your cluster
The distributed Proxmox VE firewall filters traffic to and from virtual machines and containers at the cluster level, so you can limit east-west traffic between guests on shared hosts without placing a separate appliance in every path. It is the right tool when your platform team needs to restrict which guests can talk to each other, to the hosts, or to management ports, and when you want those rules to follow the guest as it runs on different nodes. It is less suited to deep inspection or application-layer policy, which still belongs to dedicated network security controls.
Rules are defined at three levels: the datacenter level, which applies cluster-wide policy and sets the baseline; the host level, which covers each node's own services and access; and the guest level, which applies to individual VMs and containers. The cluster configuration is shared across nodes, and rules are enforced at each node that runs the affected guest. Because enforcement happens locally on the node, you should check that the firewall is enabled at every level you rely on and that rules behave the same after a live migration or HA recovery. Confirm the exact rule evaluation order, default policies, and which options are available in your Proxmox VE version against the Proxmox VE firewall documentation before you write your baseline policy.
Before you build rules, decide which default policy you want at each level and write down the traffic flows your applications actually need, including DNS, time synchronization, monitoring and backup traffic. Test a small set of guests in a non-production cluster, migrate one of them between nodes, and confirm the same filtering applies on the destination. Keep a record of which level owns each rule so that a later change at the datacenter level does not silently override a guest-specific exception.
Which rule level fits each isolation goal
Datacenter rules apply across every node in the cluster. They suit policies that should hold no matter where a guest runs, such as a default stance for inbound management traffic, shared IP sets that describe internal networks, and security groups that many guests reuse. Because one change here reaches the whole cluster, the platform or security team should own these rules and change them through a documented review.
- Cluster-wide baselines: Set default policies and the management access allowed to the web interface and API from approved administration networks.
- Shared objects: Define IP sets and security groups once so that host and guest rules reference the same named objects.
- Broad blast radius: A mistake here affects every node and guest, so restrict edit rights and record each change.
- Ordering risk: Datacenter rules are evaluated alongside host and guest rules, so a broad allow here can undo a narrow deny lower down.
Before you rely on any datacenter rule, confirm in the current firewall documentation how the levels are evaluated and whether a rule at one level can override another.
Host rules protect the Proxmox VE nodes themselves. They control traffic to the hypervisor services such as SSH, the web interface, cluster communication and the migration network, and they keep these services away from guest networks. Host rules are usually owned by the infrastructure team that runs the hardware, and they should be written so that cluster traffic stays reachable even when a guest rule is wrong.
- Management plane protection: Limit the web interface, SSH and API ports to administration subnets or jump hosts.
- Cluster traffic: Keep corosync and migration traffic reachable between nodes and block it from every other source.
- Node-specific exceptions: Use host rules when one node has a different role, such as a backup target or a node on a separate segment.
- Recovery access: Keep a documented path to reach each node if guest rules or the datacenter policy block normal access.
Test host rules from both an administration network and a guest network, and confirm that cluster membership stays healthy after each change.
Guest rules apply to an individual VM or container and are the main tool for microsegmentation. They describe which tiers may talk to which, such as a web tier that may reach an application tier on one port and nothing else. Application owners or platform engineers usually manage these rules, so they need clear naming, a reference to the owning service, and a review path when a new dependency appears.
- Tier isolation: Allow only the ports a web, application or database tier needs, and deny the rest by default.
- Per-workload exceptions: Apply a rule to one guest when a single system needs access that its peers do not.
- Security group reuse: Attach shared security groups to many guests so that a tier policy is defined once.
- Drift risk: Guest rules multiply quickly, so keep an inventory that maps each rule to a business owner and a dependency.
For each tier, write down the expected flows and check them with a test from the source tier and a test that should fail from an unrelated tier.
Rules at different levels can point in opposite directions. A guest rule may allow a port that the host rule blocks, or a datacenter allow may expose a service that a guest rule was meant to restrict. The result depends on the order in which the levels are evaluated and on whether each rule is an allow or a deny. Readers should not assume a single intuitive order without checking the product behavior for their version.
- Silent conflicts: A rule that looks correct at one level can have no effect because another level already decided the packet.
- Duplicated intent: The same allow written at two levels makes later changes hard to reason about.
- Test every path: Verify allowed and blocked flows from each relevant source after any change at any level.
- Document the order: Record the evaluation order you confirmed for your version in the runbook.
- Change control: Require a review that checks all three levels together before a rule is applied.
Confirm the exact evaluation order in the current Proxmox VE firewall documentation for your release before you finalize the design.
Most isolation goals fit one level more naturally than the others. Cluster-wide management access belongs at the datacenter level, node protection and cluster traffic belong at the host level, and tenant or tier separation belongs at the guest level. Mapping each goal before writing rules keeps the policy readable and gives each owner a clear scope.
- Management access: Datacenter level, with a host-level backstop on each node.
- Cluster and migration traffic: Host level, restricted to cluster peers.
- Tier separation for an application: Guest level, using security groups for shared tiers.
- Tenant separation: Guest level, combined with network design that keeps tenants on separate segments.
- Emergency access: Host level, documented and tested outside the normal guest policy.
Write this mapping as a table in your design record, then confirm the rules and their order against the current documentation before rollout.
Firewall options and when each fits
This table compares the Proxmox VE firewall configuration options (security groups, IP sets, aliases, rule direction and macros, and host firewall enablement) by when each fits and what it costs in reuse or blast radius. Read each row as a choice you make per rule set, then check the trade-off against how many guests a single mistake would affect. The main takeaway is to keep shared objects few and well named, and to enable the host firewall deliberately rather than by default.
| Option | When it fits | Trade-off to weigh | What to confirm |
|---|---|---|---|
| Security groups | Common policy for a class of guests, such as all web tier VMs, applied by reference | One edited group changes every guest that uses it, so a single mistake spreads across the group | Which guests reference each group and who has permission to edit it |
| IP sets | Named lists of trusted management, monitoring or tenant networks reused across rules | Reuse keeps rules consistent, but a wrong CIDR entry affects every rule that points to the set | Whether your Proxmox VE version supports the address ranges and entries you need |
| Aliases | Readable names for a single host or network used in rules, so intent is visible in review | Renaming or repointing an alias changes all dependent rules at once | Whether aliases are resolved at rule evaluation time in your release |
| Rule direction (in and out) | Inbound filtering for service exposure, outbound filtering to stop lateral movement or data egress | Outbound rules are easy to forget, and a default policy that blocks outbound traffic can break updates and DNS | Your default policy per level and the outbound paths your guests need |
| Macros | Well-known protocol sets such as common services, saving rule writing and reducing typos | Macros hide the exact ports behind a name, so reviewers must check what a macro expands to | The port set each macro maps to in your version of the documentation |
| Datacenter level rules | Baseline policy shared by all nodes and guests, such as management access and default drops | Broad reach; an error here can affect every cluster node and guest, so change it through a tested window | Your management access path, so you do not lock yourself out before saving |
| Host level enablement | Protecting hypervisor services such as the web interface and SSH on each node | Host rules can cut off cluster communication if the cluster network is not explicitly allowed | Which cluster and management interfaces must stay open on every node |
| Guest level rules | Per-VM exceptions where one workload needs a rule no shared group should carry | Many one-off rules are hard to audit and drift over time | Whether the guest firewall option is enabled and which rules are unique to that guest |
Setting up guest isolation step by step
This sequence takes a Proxmox VE cluster from an open network to a tiered, default-restricted guest layout. Each step adds one layer of policy and ends with a test that confirms the layer behaves as intended before the next one is added.
Inventory flows and define tiers
The network or platform owner lists every guest, the services it runs, and the traffic it must send and receive, including management, backup, replication, monitoring and DNS flows. Guests are grouped into tiers such as web, application, database and management, and each tier gets a written allow list. Done means a table exists that maps each required flow to a source tier, a destination tier, a protocol and a port, and the owner has signed off on it before any rule is written.
Record management access before enabling firewalls
Before any firewall setting changes, the administrator records how to reach each node and the web interface without the firewall: a console or out-of-band path, a second administrator session, and the IP ranges allowed to reach the management ports. Confirm that the management network is listed in the rules you plan to keep. Done means a tested console or out-of-band login exists and the management ranges are written down for use in later steps.
Enable the datacenter firewall with safe defaults
The administrator enables the firewall at datacenter level and sets the default inbound policy with a rule group that explicitly allows the management ranges, the cluster network used by Corosync and the migration traffic. Allowing these flows first keeps nodes reachable and cluster communication intact. Check that each node still answers on the web interface and that cluster status stays healthy. Done means every node is reachable from the management ranges and no cluster warnings appear.
Define IP sets and security groups
The administrator creates IP sets for the management ranges, backup targets, monitoring hosts and each tier's subnet, then builds security groups that hold the allow rules from step one. Names should match the tiers in the inventory so reviewers can trace each rule to a business flow. Check the objects in the interface and confirm each IP set contains only the addresses it should. Done means every required flow has a named group and no rule refers to a raw address that is missing from an IP set.
Apply guest-level rules by tier
Using the security groups, the administrator writes rules at datacenter or cluster scope that permit only the flows listed for each tier, and ends each tier with a deny for everything else. Rules are added to one tier at a time, starting with the least sensitive, so a mistake affects a small part of the environment. Done means the rule set for each tier matches the approved table, and the change is recorded in version control or the change log.
Enable the guest interface firewall
For each guest, the administrator enables the firewall on the virtual network interface and attaches the security groups for its tier. Start with one non-critical guest, confirm it still serves its expected traffic, then extend to the rest of the tier. Confirm that the guest's own services start and that its backup job still completes. Done means every guest in the pilot tier passes its normal health checks with the interface firewall enabled.
Verify isolation with test traffic
The tester runs allowed and denied connections between tiers from test guests or approved scanning hosts, using the same ports listed in the inventory. Each allowed flow must succeed, and each denied flow, including a web tier reaching a database port directly, must fail and produce a log or counter entry. Record the results in a table and retest after any rule change. Done means every expected result in the table matches the observed result, and the table is stored with the change record.
How a packet is evaluated across firewall levels
The diagram starts at a guest network interface, where traffic to or from a VM or container is first checked against the guest's own rules. The packet then moves to the host level and the datacenter level, and each level can accept or drop it. Management access to the host runs on a separate path that is allowed by an explicit exception. When you review a rule set, trace one packet through each level and confirm which level makes the final decision.
Packet path through guest, host and datacenter rule levels, with the management exception.
Should you adopt the nftables-based proxmox-firewall preview?
Do not make the nftables-based proxmox-firewall your production firewall yet. Treat it as a preview to evaluate in a non-production cluster, and keep the stable firewall as the path you run in production. The preview reimplements the Proxmox VE distributed firewall on nftables in place of the iptables-based implementation the stable firewall uses. Your intent stays in the same places: datacenter, host and guest rules, security groups and IP sets. What changes underneath is the packet filtering backend, so the generated rulesets, counters, log lines and any script or monitoring check that parses iptables output may behave differently. Confirm with Proxmox which rule options, logging behaviors and integrations the preview covers today, because preview scope changes between releases.
The main risk is that a preview can fail in ways your existing tests do not cover. A regression in filtering could open a path between tenant guests or block traffic your cluster depends on, such as Corosync, live migration and API access. The symptom may appear only after a reboot or a node change. Check how your support entitlement applies to preview features before you depend on them, and ask Proxmox whether known issues are tracked for the version you plan to test. Plan the rollback before you start: keep the stable firewall configuration intact, record every datacenter and host setting you change to enable the preview, and rehearse switching a test host back so that reverting is a routine step.
Adopt the preview only if a side-by-side test in a non-production cluster passes. Build a cluster that matches your production topology, with the same VLANs, bridges and management network, then apply one identical rule set under each backend in turn. Include a security group and IP set used by a tenant, a datacenter rule that restricts management access, and a guest rule with an explicit deny. Run the same traffic matrix from each rule level, using packet captures and firewall logs to confirm that every allowed and denied flow matches expectations. Compare log format, counters, behavior after live migration and reboot, and cluster traffic under load. Use the preview only for features that matched in every test, and keep the stable firewall as the fallback until Proxmox confirms the feature is ready for production in the release you run.
Security and operational risks of firewall changes
Firewall changes on Proxmox VE can cut off the people and services that manage the cluster, not just the workloads they were meant to restrict. The cards below cover the failure modes we see most often, each paired with the control that keeps a change reversible and reviewable.
Administrator lockout from the web interface and API
A rule that drops port 8006 or the SSH port on the datacenter or node level can remove the only browser and API path to the cluster. Keep an out-of-band path open before any change, such as a console on the management network, IPMI or iDRAC access, or a serial console. Test the change on one node, confirm you can still log in from a second session, and keep a rollback copy of the rule set ready before you apply it to other nodes.
Dropped cluster and Corosync traffic
Rules that block Corosync, cluster file system or migration traffic can split a cluster into partitions, trigger quorum loss and lead to fencing on HA-managed guests. Write explicit accept rules for the Corosync links and the other cluster ports on every node before any restrictive rule applies, and keep them in a separate, reviewed block. Verify quorum and Corosync membership after each change on every node, not only on the one you edited.
HA documentationRule drift across nodes
The datacenter firewall applies cluster-wide, but host rules and guest rules are set per node or per VM, and it is easy for a host-level exception to survive after its reason is gone. Compare the effective rule sets across nodes on a schedule, and record which rules are cluster-wide, which are node-specific and why. Unexplained host exceptions are the first thing to remove during review.
Logging gaps
If firewall logging is off, or logs are not forwarded off the host, a blocked connection or a rule change leaves no trace for the investigation that follows. Decide which accept and drop events must be logged for each guest zone, confirm they reach your central log platform, and test that a deliberate blocked connection appears there. Treat a silent log pipeline as a finding, not as a quiet network.
Default-accept guest policies
A guest firewall that is enabled but leaves the default policy at accept protects nothing beyond the rules you wrote, and an interface that is never enabled in the firewall is open by default. Set the default inbound policy to drop for each tenant or workload group, enable the firewall on every guest NIC, and review any guest that has no rules at all. Confirm the policy with a port scan from the adjacent zone.
Changes made without change control
Firewall edits made directly in the web interface, without a ticket, a second reviewer or a stored copy of the previous state, make incidents hard to explain and audits hard to pass. Put rule changes through the same change process as other network changes, keep the rule files under version control where your tooling allows, and record who approved each change and when it was tested. This record also supports later reviews against your compliance evidence.
Questions buyers ask about Proxmox VE firewall projects
How much effort does a Proxmox VE firewall segmentation project take?
Effort depends mostly on how many zones you need, how many traffic flows must be allowed between them, and how many application tiers each service spans. A flat cluster with one or two tiers and a small number of management flows is a short exercise. A cluster hosting several business applications, each with web, application and database tiers plus shared services such as DNS, monitoring and backup, takes much longer because every flow needs an owner, a rule and a test. Ask any partner to break the quote into flow discovery, rule design, staged rollout and verification, and to state how many zones and flows the price assumes.
Can our internal team build Proxmox VE firewall rules without outside help?
Yes, if the team already administers Proxmox VE and understands the application traffic it needs to protect. The firewall is configured through the web interface and the datacenter, host and guest levels are documented in the Proxmox VE administration guide. The harder part is not the configuration itself but knowing which flows are legitimate. Teams that lack a current map of application dependencies, or that have no one who can explain why a port is open, usually benefit from a short outside review of the rule design before enforcement. Confirm with your own engineers which applications and admin paths must keep working before you decide.
What do we need to provide for a firewall segmentation project?
The work depends on four inputs from your side. The first is a flow inventory: which systems talk to which, on which ports, and why. The second is access to the Proxmox VE hosts and cluster, including an administrative account and a way to reach the web interface and API. The third is change windows, because rules that block traffic can interrupt live services and should be enforced in planned periods. The fourth is named owners for each application who can confirm expected behavior during testing. Missing any of these usually extends the project more than the technical configuration does.
Do we need a Proxmox VE subscription to use the firewall?
No. The software can be used without a subscription, and all subscription tiers include the same software features. The tiers differ in support entitlements and access to the enterprise repository. The enterprise repository requires a valid subscription key and is the recommended repository for production, while the no-subscription repository is described as suited to testing and non-production use. Pricing is per CPU socket per year, with the Community tier at 120 euros, Basic at 370 euros, Standard at 550 euros and Premium at 1,100 euros, according to the Proxmox VE pricing page. Whether you need support response times is a separate decision from whether the firewall works.
How long does testing firewall rules in a Proxmox VE cluster take?
Testing usually takes longer than writing the rules. Each allowed flow should be verified from the source and destination sides, and each blocked flow should be checked to confirm that the block does not break a dependency nobody documented. A practical approach is to run rules in a staging cluster or a non-production segment first, then enforce them tier by tier while monitoring logs and application health. Duration depends on the number of flows, the number of application owners available for sign-off, and how many change windows you can use. Ask any partner to define the test cases and acceptance criteria in writing before work starts.
Should we rely on the proxmox-firewall preview or the standard firewall?
For most production clusters, the established distributed firewall is the safer baseline, and the nftables-based proxmox-firewall should be treated as a preview until you have confirmed its feature coverage against your rules. Check the current Proxmox VE release notes and documentation for which rule types, logging options and IP set behavior are supported in the version you run. Test any preview on a non-production cluster that mirrors your rule set, and keep a documented rollback path. Your decision should rest on a feature comparison you verify yourself, not on release announcements alone.
When should we bring in an outside partner for firewall segmentation?
Consider outside help when the cluster hosts regulated workloads that need documented controls, when the flow inventory is incomplete, when several application teams must sign off on changes, or when your internal team has no time for a staged rollout. A partner can plan the zones, write the rule design, run the test plan and hand over documentation for your operations team. Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, so ask for the scope, the assumptions behind it and the handover items in the quote. DeployOpen can also prepare the evidence that compliance assessors may ask for, but it does not issue audit reports or certifications.
What does a Proxmox VE firewall project cost to run after go-live?
The recurring costs are usually the subscription, if you choose one, plus the staff time to review rules when applications change. The one-time costs are the design, rule build, testing and documentation. Ongoing rule maintenance grows with the number of zones and the rate of application change, so an owner should be named for each zone and a review process set up before handover. Ask any quote to separate one-time work from optional retainer support and to state what happens when a new application needs a new flow.
How DeployOpen scopes firewall and segmentation work
DeployOpen starts every firewall engagement with flow mapping, not rule writing. Before anyone touches the datacenter, host or guest firewall settings, the team records which guests, hosts, management interfaces, storage networks and external services talk to each other, on which ports, and which of those flows are required for HA, live migration, backup and replication. The output is a written inventory that the client's security and platform owners sign off on. Clients should ask for this inventory as a named deliverable in any quote, because it determines how many security groups, IP sets and rules the engagement produces and how long the rollout takes.
Rule design follows the flow map and is agreed in writing before a staged rollout. The scope usually names the three rule levels (datacenter, host and guest), the security groups and IP sets that will be reused, the default policy for each level, and the management access paths that must stay open so administrators are not locked out. A staged rollout then moves from a non-production cluster to one production node or guest group at a time, with each stage tested against the flow map. Testing covers both allowed and denied paths, and the documentation covers the final rule set, the change procedure and the evidence of each test run.
Most engagements are fixed-scope, so the quote should state what is included and what is not, including whether the adoption decision on the proxmox-firewall preview is part of the work. Ongoing rule review, changes after new guests are added and periodic retesting are handled through a retainer, which the client can size to how often its topology changes. Clients should confirm the scope of any retainer, the named deliverables and the acceptance criteria before work starts, and should keep their own change approval process in place so that changes made by DeployOpen and by the client's team follow the same record.

