Sources verifiedUpdated November 27, 2026
Summary: A virtual quantum-safe encryption gateway can sit next to a virtual firewall if the vSwitches force traffic through the gateway first and the VM gets a sound entropy source. For remote OT sites and for hypervisors shared with industrial DMZ workloads, a separate host or hardware appliance is often the cleaner choice.

A virtual encryption gateway next to a firewall is a quantum-safe encryption appliance that runs as a virtual machine on the same virtualization platform as a virtual firewall. It encrypts traffic between sites, cloud environments and remote users at the network layer, while the firewall keeps its job of inspecting and filtering. For OT operators, what makes it safe or unsafe is mostly the design around it: how traffic is forced through the gateway, where its randomness comes from, and which other workloads share its hypervisor.

The timing matters. NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow its use under NIST standards and guidelines after 2035. Industrial links carry data that stays sensitive for a long time, and OT hardware is replaced slowly. Because of that, many operators are adding post-quantum protection at the network edge now instead of waiting for every controller and historian to support it.

Can a quantum-safe encryption gateway run as a virtual machine next to a virtual firewall?

Yes. A gateway that encrypts at Layer 3 needs nothing special from the hypervisor beyond two or more virtual network interfaces, enough CPU, and a trustworthy source of randomness. The firewall and the gateway are separate VMs with separate roles, and the routing between them decides which one sees the traffic first.

This pattern is common in data centres and private clouds that already run virtual firewalls. Quantum Network’s QPN, for example, offers a virtual gateway for edge-to-cloud deployments that runs on a supported Linux platform in the organisation’s own data centre or cloud. It co-exists with the firewall and is integrated by adding or adapting a few routes. The design rule that follows from this is simple. Put the gateway in front of the firewall when the firewall must keep inspecting the decrypted traffic. Put it behind the firewall only on paths where inspection is not needed.

The encryption gateway does not replace the firewall. It does no web filtering, malware scanning or denial-of-service defence. It protects data in transit, not the systems behind it. Keeping both VMs in the design is the point, not a compromise.

Is a virtual gateway or a hardware appliance better for encrypting OT site links?

For central sites and cloud environments that already have a hardened virtualization platform, a virtual gateway usually fits best. For remote substations, pumping stations and small plants with no hypervisor, a dedicated hardware gateway is normally the simpler and more isolated option.

A remote OT site often has a single cabinet, a router and a few controllers. Adding a hypervisor there to run one VM brings in a management plane, a patch cycle and a new attack surface that the site did not have before. In a data centre with an existing cluster, the opposite holds: the virtualization layer already exists, is already monitored, and a VM avoids shipping and racking another box.

Factor Virtual gateway Hardware appliance
Best fit Data centre, private cloud, public cloud tenancy Remote OT sites, cabinets without servers, air-gapped segments
Isolation Logical, depends on hypervisor configuration Physical, its own CPU, memory and NICs
Entropy source Inherited from the host CPU or passed through by the hypervisor Under the gateway’s own control
Failure domain Shared with every VM on the host Independent of other systems
Change management Hypervisor and VM patching both apply Only the appliance itself is patched

Many operators end up with a mix. Hardware sits at the plants and a virtual gateway sits in the central data centre or cloud, where the tunnels from all sites terminate.

How should virtual switches and VLANs be set up so traffic passes through the gateway before it reaches the firewall?

Build a chain of separate segments: WAN uplink to the gateway’s outside interface, a private transit segment from the gateway’s inside interface to the firewall’s outside interface, and the firewall’s inside interface toward the industrial DMZ. Make the transit segment the only path between them.

A practical layout

  • WAN segment: a virtual switch or port group bound to the physical uplink. Only the gateway’s outside vNIC is attached to it. The firewall has no interface here, so traffic cannot skip the gateway.
  • Transit segment: a virtual switch with no physical uplink at all, connecting only the gateway’s inside vNIC and the firewall’s outside vNIC. Use a small dedicated subnet and point the firewall’s routes for remote sites at the gateway’s inside address.
  • Inside segments: the firewall’s inside interfaces toward the industrial DMZ and further zones, as before.
  • Management segment: a separate network for hypervisor and VM administration, never shared with WAN or transit traffic.

Separate virtual switches are easier to audit than VLAN tags on one switch, because a mistyped VLAN ID on a single port group can quietly connect the WAN to the firewall directly. If VLANs are unavoidable, document every port group and check after each change that the firewall has no reachable WAN interface. Also reject promiscuous mode, MAC address changes and forged transmits on the transit and WAN port groups.

For the management plane, NIST SP 800-125A gives a clear baseline. Its HY-SR-20 recommends allocating a dedicated physical NIC or, if that is not feasible, placing the management interface of the hypervisor in a dedicated virtual network segment and enforcing traffic controls using a firewall. That publication contains a full set of controls: NIST SP 800-125A provides 20 security recommendations for the secure deployment of hypervisors.

Note: Pin the gateway and firewall VMs to hosts that actually carry the WAN and transit networks. If automatic load balancing moves the gateway to a host where the transit segment is missing, the link drops. In the worst case, a fallback route lets traffic reach the firewall another way.

Does a virtual gateway still get good randomness and key protection for ML-KEM without dedicated hardware?

It can, but only if the guest actually receives good entropy and the operator controls snapshots, clones and memory access. ML-KEM (FIPS 203) depends on random values for key generation and encapsulation, and a VM inherits its randomness from whatever the hypervisor exposes.

Entropy sources in a VM

NIST SP 800-90B defines what a sound entropy source looks like. It requires that the entropy source shall have a well-defined (conceptual) security boundary, which should be the same as or be contained within a FIPS 140 cryptographic module boundary. At a NIST workshop, Tim Hall described SP 800-90B entropy validation as “Always a requirement for FIPS 140-3 validation”.

In practice, a virtual gateway has three options: the CPU’s hardware random number instruction passed through to the guest, an entropy feed from the host through a paravirtualized device, or a CPU timing-jitter source inside the guest. Jitter sources can be validated in virtualized environments, but the details matter. One public CMVP entropy document for a jitter source running on a hypervisor states that it is important that the underlying virtualization environment does not mediate these values, referring to the time stamp counter.

Protecting key material

Without a dedicated security chip, session keys live in VM memory. That makes the hypervisor administrator, memory snapshots and backup copies part of the key-protection boundary. Some practical steps:

  • Exclude the gateway VM’s memory from snapshots, and never clone a running gateway. A restored snapshot can replay the state of the random number generator, so force a reseed and a fresh handshake after any restore.
  • Limit who can open the gateway’s console or dump its memory, using the same role separation applied to firewall administration.
  • Prefer short-lived session keys. QPN, for instance, uses a hybrid key agreement in which a classical part and ML-KEM are combined into one session key, and both handshakes renew every two minutes. As a general principle, frequent rekeying narrows the time window that any single session key covers.

What are the risks of hosting encryption gateways on the same hypervisor as OT workloads in the industrial DMZ?

The main risk is that the hypervisor merges two trust levels. The gateway has an interface facing the WAN, while historians, patch servers and jump hosts in the industrial DMZ do not. Sharing a host turns them into one failure domain and one compromise domain.

IEC 62443-3-3 frames this in terms of zones and conduits. In the ISA99 committee’s words, it provides guidance in determining and protecting high risk communication conduits and security zones. An encryption gateway is part of a conduit, while DMZ servers are assets inside a zone. When both run on one hypervisor, that hypervisor belongs to both, and should be protected to the level of the most exposed workload it hosts.

The specific risks to plan for are:

  • Shared outages: patching or rebooting the host takes down the site links and the DMZ services at the same moment. That is exactly when operators need remote access to check on the plant.
  • Resource contention: encryption at high throughput uses a lot of CPU. Without reservations, a busy historian or backup job can add latency to control traffic between sites.
  • Management plane exposure: NIST SP 800-125 notes that the security of the entire virtual infrastructure relies on the security of the virtualization management system. Anyone who manages the host can reach the gateway’s memory and network mappings.
  • Configuration drift: a port group change made for a DMZ server can accidentally attach it to the WAN or transit segment.

NIST’s guidance on monitoring applies directly here: “The hypervisor itself also needs to be carefully monitored for signs of compromise.” The cleanest mitigation is a dedicated host or small cluster for perimeter functions (gateway and firewall), kept separate from the cluster running DMZ application servers. If that is not possible, use CPU and memory reservations, strict affinity rules and separate administrative roles.

How does this fit into post-quantum procurement planning?

Network encryption at the edge is one of the areas where public guidance expects PQC adoption to grow. In CISA’s Product Categories for Technologies That Use Post-Quantum Cryptography Standards, the 13 categories still transitioning include networking hardware such as routers, firewalls, switches, appliances, as well as physical and virtual computers covering operating systems, hypervisors, containers. Four categories are listed as already widely available.

Madhu Gottumukkala, Acting Director of CISA, said at the release: “To stay ahead of these emerging risks, organizations must prioritize the procurement of PQC-capable technologies.” For OT operators, this means one practical thing. The virtualization layer under a virtual gateway is itself a product category that is still transitioning, so the security of a virtual deployment depends on both the gateway and the hypervisor it runs on.

Note: Before choosing virtual over hardware for a given link, write down three things: which hosts may run the gateway, where its entropy comes from, and who can access its memory. If any of these is unclear, that link is a candidate for a dedicated appliance.

Where Quantum Network fits

Quantum Network is a quantum-safe encryption gateway that protects the connections between your own locations, without replacing the network equipment you already run.

Talk to an expert

Frequently asked questions

Does the encryption gateway VM go before or after the virtual firewall?
If the firewall has to keep inspecting the traffic on that path, put the gateway in front of it, on the WAN side, so the firewall sees decrypted traffic. If no inspection is needed on that path, the gateway can sit behind the firewall.
Can I use VLANs on one virtual switch instead of separate virtual switches?
Yes, but separate virtual switches are easier to audit. If you do use VLANs, the transit segment between the gateway and the firewall should not carry any physical uplink, and no other VM should be attached to it.
Is a virtual gateway's randomness weaker than a hardware appliance's?
Not by definition. It depends on whether the guest has access to a sound entropy source, such as a CPU random number instruction that the hypervisor passes through or a timing-jitter source whose timer the hypervisor does not mediate. It also helps to reseed after a snapshot is restored or a VM is cloned.
Should the encryption gateway share a hypervisor with historians or jump hosts in the industrial DMZ?
It is better not to. The gateway has an interface facing the WAN, so putting it on the same host as DMZ workloads merges two trust levels into one failure and compromise domain. A dedicated host or cluster for perimeter functions keeps the zones separate.
Does live migration of the gateway VM cause problems?
It can. Migration moves VM memory, including session keys, across the network, and the destination host may not have the same WAN and transit VLANs. Pin the gateway to hosts that have the right networks, and send migration traffic over a dedicated or encrypted channel.

Sources