VyOS as the open-source network edge for XCP-ng pools
Run VyOS as an enterprise-grade router, firewall, and VPN gateway VM in front of your XCP-ng tenant and site networks, managed in Xen Orchestra like any other VM.

The situation
Organizations, MSPs, and ISPs running XCP-ng pools need a reliable network edge in front of their tenant and site networks. VyOS Universal Router, deployed as a VM, delivers routing, firewall, and VPN termination at the edge. For organizations moving off proprietary virtualization (VMware vSphere, Microsoft Hyper-V, Nutanix AHV, Citrix Hypervisor), the hypervisor changes, but the need for these edge functions does not. VyOS provides them on the same open foundation as the hypervisor and is managed alongside other VMs in Xen Orchestra.
How it works
VyOS runs on XCP-ng as a standard guest VM, managed in Xen Orchestra like any other VM.
-
Deploy a VyOS image as a VM on the XCP-ng pool. Rolling and Stream images are available to everyone, and subscribers also get LTS images and pre-built VM images.
-
Use the Xen guest agent built into the image. Since November 2024, the agent is part of the generic VyOS image, so no separate XCP-ng build is needed, and it supports both mainline Xen and XCP-ng.
-
Configure routing (BGP, including EVPN, MPLS, VRF, and VXLAN), firewall, NAT (including CGNAT), and VPN (IPsec, L2TP, DMVPN, WireGuard, OpenVPN) from a single configuration model. Use VRRP for high availability.
-
Automate the configuration through the VyOS HTTP API, Ansible collection, or Terraform provider.
-
Optionally, add private networks behind the VyOS VM with the Xen Orchestra SDN controller, which creates pool-wide and cross-pool private networks over encrypted GRE or VXLAN tunnels. It complements VyOS rather than replacing it.
What you get
Enterprise networks at software speed: a full network edge you deploy, change and automate like any other VM in your pool.
-
One platform for the edge: routing, firewall, and VPN from a single configuration model, including BGP with EVPN, CGNAT, and WireGuard, suited to enterprise sites as well as MSPs and ISPs.
-
Simple operations: VyOS appears in Xen Orchestra alongside your other VMs and needs no VyOS-specific plugin.
-
Automation at scale: HTTP API, an Ansible collection, and a Terraform provider.
-
A transparent codebase: VyOS source code is public on GitHub (vyos-1x under LGPL-2.1, vyos-build under GPL-2.0).
-
Production-ready releases: VyOS 1.5 Circinus became generally available as an LTS release on 31 March 2026.
Proof
VyOS supports XCP-ng (VyOS on XCP-ng (external link, opens in a new tab)), and the Vates network compatibility page lists VyOS among the solutions validated with Vates VMS and states that VyOS is fully compatible with XCP-ng, with dedicated paravirtual drivers included in the image (Vates network solutions (external link, opens in a new tab)). XCP-ng and VyOS announced a collaboration in August 2020 (XCP-ng blog (external link, opens in a new tab)).
To deploy VyOS in front of your XCP-ng pools, start from the VyOS on XCP-ng page and the VyOS documentation at (external link, opens in a new tab)docs.vyos.io (external link, opens in a new tab)
Requirements
- An XCP-ng pool managed with Xen Orchestra.
- A VyOS image: rolling and Stream images for everyone; LTS images and pre-built VM images for subscribers.
- The Xen guest agent is included in the generic VyOS image (since November 2024).
- For optional private networks behind VyOS: the Xen Orchestra SDN controller, a plugin included in XOA Premium.
Limitations
-
VyOS is managed as a standard guest VM in Xen Orchestra, without a dedicated plugin or API integration.
-
The Xen Orchestra SDN controller, used for optional private networks behind VyOS, is included in XOA Premium.

