Skip to content

VPN Instances

A VPN instance is the top-level SD-WAN object that ties together all the parameters for an overlay network: topology, network mode, encryption protocol, overlay IP addressing, and routing. Once a VPN instance is defined on the gateway, branch devices are enrolled into it — mFusion pushes the complete tunnel and routing configuration to all participating devices automatically.

Key points:

  • VPN instances are configured per entity in the mFusion Orchestrator (Orchestrator → Configuration → VPN Instances). Each instance is attached to the gateway device(s) that terminate it.
  • Each instance is assigned a numeric instance ID that must be unique across the entire entity, even across multiple gateways.
  • A gateway can host multiple VPN instances simultaneously, each with different topology and protocol parameters. This is how hybrid topologies are achieved — for example, a full-mesh instance for sites that need direct interconnect alongside a separate hub-and-spoke instance for the remaining branches.
  • In a high-availability setup with two gateways, each gateway typically hosts one VPN instance with the same parameters. Branch devices can be enrolled into both instances simultaneously; BGP weight controls which gateway is preferred.

Before You Begin

Planning Checklist

Gather the following before creating a VPN instance:

  1. Network addressing — the LAN subnet at each site (hub and all branches).
  2. Overlay IP pool — a private IP range dedicated to the VPN overlay. mFusion allocates individual overlay IPs from this pool for each gateway and branch. This range must not overlap with any site's LAN subnet or other VPN instances.
  3. VPN topology and network mode — see VPN Topology for the full breakdown of hub-and-spoke, spoke-to-spoke, and full-mesh options, and Layer 2 vs Layer 3 modes.
  4. Encryption protocol — see VPN Protocols for a comparison. WireGuard is recommended for all RansNet-to-RansNet deployments.
  5. WireGuard UDP port — default 1472. Choose a port that is permitted inbound on the gateway's WAN firewall and on any upstream NAT devices.
  6. BGP AS number — required for spoke-to-spoke and full-mesh topologies where routes are distributed dynamically. A single private AS (e.g. 65051) shared across all devices in the instance is typical.
  7. Traffic management requirements — any path preference, per-application steering, or QoS shaping policies to apply on top of the overlay. See Traffic Steering and Traffic Shaping.
  8. HA gateway preference — if two gateways are deployed, decide which gateway is preferred. BGP weight is used to control path preference per branch.

Device Readiness

All devices must be online and reachable before enrolling them in a VPN instance:

  1. Provisioned and online — all devices must be registered in mFusion and show as online. See Device Provisioning and Device Onboarding.
  2. WAN and LAN configured — each device needs a working WAN interface with a default route and a configured LAN/DHCP. See the Interfaces and DHCP sections for reference.
  3. Gateway public IP or FQDN reachable — branches must be able to reach the gateway on the configured WireGuard UDP port (or IPsec/SSL VPN port, depending on protocol).
  4. Firewall rules permit SD-WAN traffic — Apply a firewall template or local policy to the gateway and branches to permit Internal traffic passing through the VPN tunnels. See Firewall Policies and Firewall Templates.
  5. External firewalls — if upstream NAT or a perimeter firewall sits in front of the gateway, ensure it permits inbound UDP/1472 (or the configured VPN port) to the gateway's WAN IP.
  6. NTP synchronised — WireGuard and IPsec handshakes require accurate system time. Verify NTP is working on all devices before proceeding.

Creating a VPN Instance

VPN instance configuration is performed entirely through the mFusion Orchestrator GUI. The examples on this page illustrate the mFusion GUI settings for a Spoke-to-Spoke (L3) deployment using VXLAN over WireGuard with BGP (instance ID 10).

The CLI configuration shown later in this page is auto-generated by mFusion — direct CLI editing of VPN instance parameters is not recommended.

Note

The IP/network addresses and device names used in the GUI and CLI configurations on this page are for illustration only and do not correspond to the same sample topology.

Opening the VPN Instances Page

Navigate to Orchestrator → Configuration → VPN Instances. The page covers the whole entity: every VPN instance of every gateway in the entity is managed here, so there is no need to open each gateway separately.

The page has three tabs:

Tab Purpose
VPN Branches (default) One table listing every branch of every VPN instance, with live device and tunnel status. Add, move and remove branch devices here. See Monitoring VPN Branches.
Mesh VPN Peers Read-only status of the peers in Full Mesh instances. See Mesh VPN Peers.
VPN Settings One panel per VPN instance with its topology, protocol, address pool, gateway devices and branch devices. Add, clone and remove instances here.

The buttons at the top right of the page are:

  • Go to Other Devices — jump to the configuration pages of the other devices in the entity.
  • Apply Config — push the saved changes to the gateway and branch devices. The button is shown when there are saved changes that have not been pushed yet.
  • Entity filter (labelled with the current entity name) — choose the entity whose VPN instances are shown.

Adding a VPN Instance

Open the VPN Settings tab and click + Add VPN Instance. An Add VPN Instance form opens at the top of the tab.

Add VPN Instance form in the VPN Settings tab

  1. Enter a unique VPN Instance ID.
  2. Select the VPN Topology, VPN Network Mode and VPN Protocol. The rest of the form adapts to these choices — fields that do not apply to the selected topology or protocol are hidden.
  3. Tick the BGP Options and VPN Options you need and fill in the fields they reveal.
  4. Enter the address pool(s) the overlay IPs are allocated from.
  5. Expand Gateway Devices and click Add Gateway Device to attach the gateway (hub) that terminates the instance, with its public Gateway IP/FQDN and the Gateway / BGP Network it advertises to the branches.
  6. Optionally expand Branch Devices and add branches now, or add them later from the VPN Branches tab (see Adding Branch Devices).
  7. Click Save, then click Apply Config at the top of the page.

Each saved instance is shown as its own panel in the VPN Settings tab. The panel header shows VPN Instance N with a summary of its topology, network mode and protocol, followed by the Clone and Remove buttons. The settings form is open directly in the panel, with Gateway Devices and Branch Devices collapsed at the bottom (click a section to expand it) and the panel's own Cancel / Save buttons below.

VPN Settings tab with a WireGuard VPN instance and its gateway and branch devices expanded

Use Expand All / Collapse All at the top of the tab to open or close all instance panels at once.

Note

Hub-and-Spoke instances keep each device's networks as Branch Networks / Gateway Networks; Spoke-to-Spoke instances (and Hub-and-Spoke with protocol None) announce them over BGP as BGP Branch Advertised Networks / BGP Advertised Networks. When you change an instance's VPN Topology, VPN Network Mode or VPN Protocol and click Save, the GUI lists the devices whose networks it carries over to the setting the new topology uses and asks you to confirm. Options the new topology does not offer are unticked. Review the networks on the VPN Branches tab, then click Apply Config.

VPN Instance Parameters

Parameter Description Example
VPN Instance ID Numeric identifier for this VPN instance. Must be unique across the entire entity. Used as the suffix for auto-generated interface names (e.g. wg10, vxlan10 for instance ID 10). Entered only when adding or cloning an instance; it is shown in the panel header and cannot be changed afterwards. 10
VPN Topology Hub-and-Spoke, Spoke-to-Spoke or Full Mesh. See VPN Topology. Spoke-to-Spoke
VPN Network Mode Layer-3 (separate subnets per site) or Layer-2 (shared subnet across sites). Determines whether VXLAN encapsulation is added. Layer-3
VPN Protocol WireGuard, IPSec, OpenVPN (SSL VPN) or None (unencrypted). The choices offered depend on the topology — for example, Full Mesh supports WireGuard only. See VPN Protocols. WireGuard
BGP Options Shown for topologies that distribute routes with BGP (e.g. Spoke-to-Spoke). Tick to reveal: BGP ASN (iBGP AS number shared by the gateway and all branches in this instance), BGP Weight (path preference for this gateway — set a higher weight on the primary gateway in dual-gateway HA), BGP Prepend, Route Reflector (the gateway reflects branch routes to the other branches) and Route Map (filter the routes advertised to the branches). BGP ASN 65051, Route Reflector
VPN Options Optional settings, each revealing its own field when ticked. WireGuard: Pre-shared key, Keepalive (seconds), Port Number (UDP listen port on the gateway), VRF ID. IPSec: Pre-shared key, Policy (Phase I (IKE) and Phase II (ESP) encryption, hashing and DH group), IKE Keylife, ESP Keylife, IKE Version 1, VRF ID. OpenVPN: Branch-to-Branch (allow branches to reach each other through the server), VRF ID. Full Mesh: Pre-shared key, VRF ID, Mode. Keepalive 60
OpenVPN Encryption OpenVPN only. Default, AES-256, DES or Disabled (clear text — see Unencrypted Overlay). Default
VPN Address Pool IP range from which the tunnel endpoint IPs are allocated. Must not overlap any site LAN or another VPN instance. 10.10.168.0/22
Tunnel Address Pool Shown with the VPN Address Pool (as Auto Address Pool) for topologies that add a VXLAN overlay. VXLAN interface addresses are allocated from this range. 10.10.172.0/22
VPN Port OpenVPN only. Port the SSL VPN server listens on. 3443
Gateway Devices The gateway(s) terminating this instance, listed with Gateway IP/FQDN, Gateway / BGP Network, Dynamic Network (pool in use) and Gateway Settings. Click Add Gateway Device, or the edit (pencil) button of a gateway, to open the gateway form: Gateway Device, Role (Primary / Backup), Backup Option (Backup IP/FQDN — a second public address of the same gateway; Backup Gateway — a standby gateway), Gateway IP/FQDN (public address the branches connect to) and Gateway Settings → Gateway Networks (hub networks advertised to the branches; for BGP topologies BGP Advertised Networks). Pick the networks in the box (select interfaces or type a network/prefix; × removes one); Route-Map / Tracking opens the per-network options. On an instance panel the gateway form opens in a popup and its Save saves the instance straight away, then click Apply Config. sdwan.ransnet.com, 2.1.2.1/32
Branch Devices The branches enrolled in this instance, with Branch / BGP Networks, Dynamic IPs (allocated overlay IPs) and Branch Settings. Use Add Branch Device or Add Bulk Devices here, or the VPN Branches tab. —

Tip

Branches always initiate the tunnel outbound, so only the gateway needs the VPN port open inbound. When Port Number is not ticked, the default WireGuard port is used (1472 in the generated configuration below).

Cloning, Removing and Editing Instances

  • Clone — creates a new instance pre-filled with this instance's settings. Enter a new VPN Instance ID and save. Use it to build a second instance for a backup gateway with the same parameters.
  • Remove — deletes the instance and its branch assignments after confirmation.
  • Edit — change the fields directly in the panel and click the panel's Save. Cancel discards the edits and restores the saved values.

A panel with edits that have not been saved shows an Unsaved changes marker next to its header:

VPN instance changed to Spoke-to-Spoke with BGP options and the Unsaved changes marker

Saving and Applying Changes

There is no page-level Save button. Every action is saved immediately on its own: a panel's Save, Add VPN Instance, Clone, Remove, the SSL VPN Stop / Start buttons, the branch editor's Save and the Branch Assignments actions.

Saving stores the change in mFusion only. Click Apply Config at the top of the page to push it to the gateway and branch devices.

Warning

Saving one item reloads the page. If another instance panel has unsaved changes at that moment, the page warns you first so you can save or discard them. Leaving the page with unsaved edits also asks for confirmation. After a save, the page returns to the tab you were working in.


Adding Branch Devices

Branch devices are enrolled from the VPN Branches tab. Each branch that should join the overlay needs one entry per VPN instance; if two gateways are deployed, add the same branch to both gateway instances.

Branch Assignments

Branch Assignments adds, moves or removes branch devices across instances in one step.

Step 1: In the VPN Branches tab, click Branch Assignments. Tick the branch devices to change (the In VPN Instances column shows the instances each device already belongs to) and click Select.

Branch Assignments — select branch devices

Step 2: Choose the Action and the target instance, then click OK Proceed. Each instance is listed with its gateway and type, e.g. #1 (VM-56/00-50-56-9b-72-48, Spoke to Spoke/WireGuard), so instances on different gateways are easy to tell apart.

Branch Assignments — action and target instance

Action Result
Add to an instance (keep current ones) Enrols the selected devices in the To instance. Their existing instance memberships are kept.
Move from one instance to another Moves the selected devices from one instance to another, keeping their branch settings.
Remove from an instance Removes the selected devices from the chosen instance.

The assignment is saved straight away. Click Apply Config to push the new tunnel and routing configuration to the gateway and the branches.

Tip

After adding a branch, click its row in the VPN Branches table to set its Branch Networks (the LAN subnets it advertises into the overlay) — see Branch Device Editor.

Branch Device Editor

Click a row in the VPN Branches table (or its Edit button) to open the Branch Device editor for that branch and instance.

Branch Device editor for an IPSec instance with tracking enabled

Field Description
VPN Instance The instance this branch entry belongs to.
Branch Name The branch device. The list shows the instances each device is already in.
Branch Networks The branch LAN subnet(s) advertised into the overlay. Pick them in the box: select interface networks or type a prefix, × removes one. For BGP topologies this option is BGP Branch Advertised Networks.
Branch ID IPSec only. Overrides the IKE identity of the branch (by default the device MAC address).
Branch Public IP / Branch Local IP IPSec only. Set the branch's public and local tunnel addresses explicitly, for branches with a fixed address.
Tunnel Path / Tunnel IP OpenVPN only. Select the path the tunnel uses and set a fixed tunnel IP instead of an address from the pool.
Enable Tracking Monitors the tunnel and resets it when it stops passing traffic. Choose a Tracking Method — Track Ping (Track Host IP / Interval) or Track TCP (Track Host IP / Port / Interval) — and optional Other Tracking Options: Ping SLA (IPv4 latency / packet loss thresholds), Source IP, Log and Reverse.
VRF ID Places this branch's tunnel in a VRF that differs from the instance default.
Endpoint / Mode / Port Number Full Mesh only. How other peers reach this device (Static IP, Auto Public IP, Auto Private IP) and per-device overrides of the instance defaults. See Full Mesh VPN.

Options shown depend on the instance's topology and protocol. Click Save in the editor — the change is saved straight away — then click Apply Config.

Adding Branches from the Instance Panel

Branches can also be added inside an instance: in the VPN Settings tab, expand Branch Devices in the instance panel and click Add Branch Device (one device) or Add Bulk Devices (several devices at once), then click the panel's Save and Apply Config.

Tip

Branches can be added to a VPN instance incrementally — existing tunnels are not disrupted when new branches are enrolled. The gateway BGP session with existing peers is unaffected.

Dual-Gateway Deployments

When two gateways are deployed, each gateway hosts its own VPN instance (use Clone to create the second one with the same parameters) and every branch is enrolled in both. Run Branch Assignments → Add to an instance once for each gateway's instance, and set a higher BGP Weight on the primary gateway's instance.


Monitoring VPN Branches

The VPN Branches tab is the status view for the whole entity: every branch of every VPN instance in one table.

VPN Branches tab with summary cards and the branch table

Summary Cards

Card Shows
Total Devices Number of distinct branch devices enrolled in any instance.
Devices UP Branch devices currently online in mFusion. Click to show only these rows.
Tunnels UP Branch tunnels reported up by the gateway. Click to show only these rows.
Tunnels DOWN Branch tunnels reported down by the gateway. Click to show only these rows.
Total VPN Instances Number of VPN instances in the entity.

Click a highlighted card again to clear the filter. The line Status updated hh:mm (refreshes every minute) shows when the status was last read; click the refresh icon to update it immediately.

Branch Table

Column Description
Device Branch MAC address and name. Click the name to open the device configuration; click anywhere else in the row to open the Branch Device Editor.
Device Status Whether the device is online in mFusion (UP / DOWN).
VPN Status Tunnel state for this branch in this instance, read from the gateway's monitoring data — see VPN Status Values. When Device Status is DOWN, VPN Status also shows DOWN (hover over it to see why), even if the gateway has not yet reported the tunnel down.
VPN Instance Instance number and protocol, e.g. #1 (WireGuard), #2 (IPSec), #3 (OpenVPN).
VRF The VRF the branch's tunnel uses, by the same rule as the generated configuration: the branch's own VRF ID, shown as 20 (device), which overrides the instance; otherwise the instance's VRF ID, shown as 12 (instance); otherwise default (main routing table).
VPN / Tunnel IP Overlay addresses of the branch: VPN — the WireGuard interface address; Lo — the loopback address of an IPSec branch; Tun — the VXLAN or SSL VPN tunnel address. For SSL VPN branches without a fixed Tunnel IP, the address the gateway assigned is read from the gateway's monitoring report (hover over it to see the source). assigned on Save means the address is allocated from the pool the next time the instance is saved.
Branch Network The branch networks advertised into the overlay. Networks announced over BGP are prefixed BGP:.
Other Branch Settings Per-branch settings that differ from the instance defaults (for example tracking). The VRF has its own column.
Action Edit (pencil — opens the Branch Device Editor; View for read-only users), Device tools (cog) and Remove (deletes this branch from this instance).

The table is searchable and sortable, and shows 25 rows per page by default (50, 100, 500 or All can be selected). Toolbar buttons:

  • CSV — export the table.
  • Branch Assignments — add, move or remove branch devices across instances (see Branch Assignments).
  • Move / Copy Selected — move or copy the ticked rows to another instance.
  • Remove Selected — remove the ticked rows from their instances.

Move / Copy Selected and Remove Selected are enabled when at least one row is ticked. The header tick box selects the rows on the current page only.

If the entity has no VPN instance yet, the tab shows No VPN Instance yet — create one in the VPN Settings tab first with a Go to VPN Settings button.

VPN Status Values

Status Meaning
UP The gateway reports the tunnel as up: WireGuard peer ACTIVE, IPsec SA ESTABLISHED, or SSL VPN client connected.
DOWN The gateway reports the tunnel as idle, inactive or down, or the branch device itself is DOWN in mFusion.
UNKNOWN The gateway reports no data for this tunnel — for example Full Mesh instances (see the Mesh VPN Peers tab instead), a tunnel that has not been pushed with Apply Config yet, or a gateway that has not sent its next monitoring report.

Tunnel Details

Click the VPN Status badge to open the tunnel details read from the gateway's monitoring data: status and state, tunnel type, gateway, branch public IP and port, local and remote network, TX / RX counters, and the last handshake or uptime.

VPN tunnel details pop-up

Device Tools

The cog button in the Action column opens the device tools for that branch: Host Dashboard, Ping Test, Traceroute, Throughput Test, Speed Test, Provisioning, Remote Web, Remote SSH, Resync Config, Upgrade Firmware, Clock Set and Reboot.

Device tools menu of a branch

Mesh VPN Peers

The Mesh VPN Peers tab shows the Mesh Peer Status table for Full Mesh instances: VPN Instance, Peer Device, Mode, Tunnel IP, Local Network, Endpoint, Last Seen and Status. The table is read-only; peers are managed in the instance panel and the VPN Branches tab. See Full Mesh VPN for how mesh peers register.


Stopping and Starting the SSL VPN Server

For OpenVPN instances, the panel header shows the state of the SSL VPN server on the gateway — SSL VPN server: Started or Stopped — with Stop and Start buttons.

OpenVPN instance panel with the SSL VPN server state and Stop / Start buttons

To stop the server:

  1. In the VPN Settings tab, click Stop in the OpenVPN instance header.
  2. Read the confirmation and click OK Proceed. Every branch connected through this server loses the VPN until the server is started again.
  3. The change is saved straight away. Click Apply Config to push it to the gateway.

Stop SSL VPN Server confirmation

To start the server, click Start, confirm, and click Apply Config.

To restart the server, click Stop and Apply Config, then click Start and Apply Config.

Note

Stop and Start save only the server state. Other unsaved edits in the same instance panel are not included — save them with the panel's Save button.


Automatic Tunnel Recovery

Branch routers recover their tunnels on their own after a reboot, a WAN IP change or a new VPN profile. No Apply Config or manual restart is needed.

Protocol What the router does Log tag
WireGuard If a WireGuard peer has had no handshake for 3 minutes, the router sets the peer's endpoint again from the configured Gateway IP/FQDN, so a gateway FQDN is resolved again. The gateway learns a branch's new public address from the branch's next valid handshake. Peers controlled by tunnel tracking failover are left to the tracker. wg-endpoint
SSL VPN (OpenVPN) start of an SSL VPN client also starts a watch that checks the client every 30 seconds. It restarts the client when it is not running (at most once every 5 minutes while it keeps failing) or when mFusion has delivered a changed VPN profile. stop removes the watch, so a stopped client stays stopped. vpnclient<N>

A new SSL VPN branch receives its VPN profile from mFusion after the gateway has created it. Until then, starting the client shows:

[warn] no VPN profile for client 3 yet. It starts when mFusion delivers the profile.

This is expected right after Apply Config. The client starts by itself as soon as the profile arrives.


Generated Configuration

The following CLI snippets are generated by mFusion. Direct CLI editing of these entries is not recommended — manage changes through the Orchestrator.

Gateway

interface vxlan10
 description "Auto Interface from VPN (10)"
 vx-local 10.10.168.1
 enable
 ip address 10.10.172.1/22
!
interface wg10
 enable
 ip address 10.10.168.1/32
 wg-port 1472
 wg-peer b0-bb-8b-00-32-e0
  remote-net 10.10.168.4/32
!
router bgp 65051
 bgp timer 5 15
 neighbor 0168_RansNet_SSL3WG_10 as-peer
 neighbor 0168_RansNet_SSL3WG_10 as-remote 65051
 neighbor 0168_RansNet_SSL3WG_10 next-hop-self
 neighbor 0168_RansNet_SSL3WG_10 route-reflector-client
 neighbor 0168_RansNet_SSL3WG_10 soft-reconfiguration
 neighbor 0168_RansNet_SSL3WG_10 weight 200
 neighbor range 10.10.172.0/24 as-peer 0168_RansNet_SSL3WG_10
 network 2.1.2.1/32
!

Key points:

  • wg10 — WireGuard transport interface. Each enrolled branch is added as a wg-peer identified by its device MAC. The gateway listens on UDP 1472.
  • vxlan10 — VXLAN overlay interface bound to the WireGuard transport (vx-local = gateway's WireGuard IP). Carries BGP sessions and routed traffic between sites.
  • route-reflector-client — the gateway acts as a BGP route reflector, redistributing branch-advertised routes to all other branches. This is what enables spoke-to-spoke reachability without direct branch-to-branch tunnels.
  • network 2.1.2.1/32 — the gateway's own network (e.g. its public loopback or hub LAN) advertised into BGP so branches have a return path.

Branch

interface vxlan10
  vx-local 10.10.168.4 remote 10.10.168.1
  description "Auto Interface from VPN (10)"
  enable
  ip address 10.10.172.4/24
!
interface wg10
  enable
  ip address 10.10.168.4/32
  wg-peer 00-50-56-9b-84-4f
    remote-ip sdwan.ransnet.com 1472
    remote-net 10.10.168.1/32
    keepalive 30
!
router bgp 65051
  bgp timer 5 15
  neighbor 0168_RansNet_SSL3WG_10 as-peer
  neighbor 0168_RansNet_SSL3WG_10 as-remote 65051
  neighbor 0168_RansNet_SSL3WG_10 next-hop-self
  neighbor 0168_RansNet_SSL3WG_10 soft-reconfiguration
  neighbor 0168_RansNet_SSL3WG_10 weight 200
  neighbor 10.10.172.1 as-peer 0168_RansNet_SSL3WG_10
  network 192.168.5.0/24
!

Key points:

  • remote-ip sdwan.ransnet.com 1472 — branch connects outbound to the gateway hostname and port. The branch WAN IP can be dynamic; only the gateway needs a fixed public address.
  • keepalive 30 — WireGuard persistent keepalive maintains the NAT mapping on the branch side, ensuring the tunnel stays active through idle periods.
  • network 192.168.5.0/24 — the branch LAN subnet advertised to the gateway via BGP. The gateway redistributes this to all other branches.

Verification

Gateway

Check WireGuard peer status:

show wg
==================================================================================
 WireGuard Status (listening port: UDP/51822)
 Peers   : 4 active, 0 idle, 0 down
==================================================================================

Peer                                         State         Local Net        Remote Net          Tx            Rx            LastUpdate
------------------------------------------------------------------------------------------------------------------------------------------------
2-1c-40-e8-17-d1-66 (61.13.198.166:1024)     ACTIVE        10.2.168.1       10.2.168.3/32       448.43 KiB    460.64 KiB    15 seconds ago
------------------------------------------------------------------------------------------------------------------------------------------------
2-1c-40-e8-17-ef-42 (61.13.198.166:1025)     ACTIVE        10.2.168.1       10.2.168.4/32       447.43 KiB    460.65 KiB    24 seconds ago
------------------------------------------------------------------------------------------------------------------------------------------------
2-d4-dd-0b-00-3d-00 (61.13.198.166:51822)    ACTIVE        10.2.168.1       10.2.168.2/32       448.30 KiB    471.98 KiB    49 seconds ago
------------------------------------------------------------------------------------------------------------------------------------------------
2-d4-dd-0b-00-02-08 (61.13.198.166:1358)     ACTIVE        10.2.168.1       10.2.168.5/32       398.25 KiB    452.43 KiB    1 minute, 58 seconds ago
------------------------------------------------------------------------------------------------------------------------------------------------

All enrolled branches should appear under Total active WG peers. A peer appearing as inactive or malfunction indicates a connectivity problem — check that the branch WAN can reach the gateway on UDP 1472.

Check SSL VPN clients (OpenVPN instances):

show security sslvpn-server connected
==================================================================================
 SSL VPN Server (3) (listening port: TCP-SERVER/3443)
 Clients : 3 connected
==================================================================================

Peer                                              Tunnel IP           Remote Net                    TX(B)       RX(B)       ConnectedSince
------------------------------------------------------------------------------------------------------------------------------------------------
server3-04-2b-58-00-79-28 (203.0.113.10:15020)    10.3.168.2                                        2605723     2567503     2026-11-15 00:44:14
------------------------------------------------------------------------------------------------------------------------------------------------
server3-d4-dd-0b-00-02-50 (203.0.113.10:57128)    10.3.168.4                                        2231845     2073275     2026-11-15 00:43:43
------------------------------------------------------------------------------------------------------------------------------------------------

Each connected branch is listed with its Tunnel IP, in both tun and tap mode. In tap mode, the router reads the branch's tunnel IP from the neighbour table of the tap interface; until the branch has sent traffic over the tunnel (a few seconds after connecting), the column shows the branch's tap MAC address instead. mFusion uses this output to fill VPN / Tunnel IP for SSL VPN branches on the VPN Branches tab.

Check BGP sessions:

show ip bgp summary
IPv4 Unicast Summary (VRF default):
BGP router identifier 10.65.31.56, local AS number 65051 vrf-id 0
BGP table version 6
RIB entries 3, using 576 bytes of memory
Peers 2, using 1448 KiB of memory
Peer groups 1, using 64 bytes of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
*10.10.172.2    4      65051     22965     22968        0    0    0 1d07h53m            0        2 N/A
*10.10.172.4    4      65051        66        67        0    0    0 00:05:11            1        2 N/A

Total number of neighbors 2

Each enrolled branch should appear as a BGP neighbor with a non-zero Up/Down time and a PfxRcd value matching the number of networks that branch advertises.

Check learned routes:

show ip route bgp
B>* 192.168.5.0/24 [200/0] via 10.10.172.4, vxlan10, weight 1, 00:00:33

Each branch LAN subnet should appear as a BGP route (B) in the routing table, reachable via vxlan10.

Ping a branch LAN from the gateway:

ping 192.168.5.254 source 2.1.2.1
PING 192.168.5.254 (192.168.5.254) from 2.1.2.1 : 56(84) bytes of data.
64 bytes from 192.168.5.254: icmp_seq=1 ttl=64 time=4.16 ms
64 bytes from 192.168.5.254: icmp_seq=2 ttl=64 time=4.63 ms
64 bytes from 192.168.5.254: icmp_seq=3 ttl=64 time=4.62 ms

Use source to specify the hub LAN IP or loopback as the source address — this ensures the return path is tested through the BGP-learned route rather than the WireGuard transport IP.

Branch

Run the same commands on a branch router to verify from the spoke side:

show wg
show ip bgp summary
show ip route bgp
ping <hub-lan-ip> source <branch-lan-ip>

The branch should show one active WG peer (the gateway), one BGP neighbor (the gateway's VXLAN IP), and BGP routes for the hub LAN and all other enrolled branch subnets.

mFusion GUI

Items to Test Where Expected Outcome
Changes pushed Top of the VPN Instances page The Apply Config button is no longer shown after the push completes.
Branch tunnels VPN Branches tab → Tunnels DOWN card 0. Click the card to list any branch whose tunnel is down.
Tunnel details VPN Branches tab → click a VPN Status badge Status UP with a recent last handshake (WireGuard) or uptime (IPsec), and TX / RX counters increasing between refreshes.
Enrolment VPN Branches tab → search for the branch One row per instance the branch belongs to, with the expected Branch Network and an overlay IP in VPN / Tunnel IP.
Device and tunnel status agree VPN Branches tab → Device Status / VPN Status A branch whose Device Status is DOWN also shows VPN Status DOWN.

Troubleshooting

Symptom Likely Cause Solution
Change saved in the GUI but not on the device The change was saved in mFusion but not pushed Click Apply Config at the top of the page. Every save (panel Save, branch editor, Branch Assignments, Stop / Start) only stores the change until it is applied.
VPN Status shows UNKNOWN The gateway reports no data for this tunnel: Full Mesh instance, configuration not yet applied, or the gateway's next monitoring report has not arrived For Full Mesh instances, check the Mesh VPN Peers tab or run show wg mesh. Otherwise click Apply Config, wait for the next refresh (every minute) and click the refresh icon. Check that the gateway is online in mFusion.
Tunnels DOWN is not 0 Branch cannot reach the gateway on the VPN port, WAN down, clock not synchronised, or SSL VPN server stopped Click the Tunnels DOWN card, then the VPN Status badge for details. On the branch run show wg / show ipsec status; verify the gateway VPN port is open inbound and NTP is synchronised. For OpenVPN instances, check that the header shows SSL VPN server: Started.
Device Status DOWN The branch is offline in mFusion Restore the branch's WAN connectivity; the tunnel cannot be pushed or come up until the device is online.
VPN / Tunnel IP shows assigned on Save No overlay IP has been allocated to this branch yet; for an SSL VPN branch, the gateway has not reported the branch connected yet Open the instance in the VPN Settings tab, click Save, then Apply Config. For SSL VPN, the tunnel IP appears after the branch connects and the gateway sends its next monitoring report (within a few minutes).
WireGuard tunnel stays down after a branch reboot or WAN IP change The peer endpoint still points to an old address, or the branch cannot reach the gateway on the VPN port Wait 3 minutes for Automatic Tunnel Recovery and check the branch syslog for wg-endpoint. If it does not recover, run show wg on the branch and verify that the gateway VPN port is reachable.
SSL VPN client start shows no VPN profile for client N yet mFusion has not delivered the client's VPN profile yet Expected right after Apply Config for a new branch. The client starts when the profile arrives. Check that the gateway's SSL VPN server is started and the branch is online in mFusion.
SSL VPN client restarts by itself The client stopped, or mFusion delivered a changed VPN profile Expected — see Automatic Tunnel Recovery. Check the branch syslog for vpnclient<N> to see the reason.
Saving reloads the page and warns about unsaved changes Another instance panel shows Unsaved changes Save or cancel that panel first, then save the other change.
Move / Copy Selected and Remove Selected stay disabled No rows are ticked Tick the rows first. The header tick box selects the current page only — use All in Show entries to tick every row.
Branches lost the VPN after an SSL VPN change The SSL VPN server of the OpenVPN instance was stopped Click Start in the instance header and Apply Config.
VPN Branches tab shows No VPN Instance yet The entity has no VPN instance Click Go to VPN Settings and add a VPN instance first.