Skip to content

Replace your VPN

This guide is the migration path from a classic VPN (IPsec or SSL, full access to the network) to XplicitTrust. It does not repeat the guides it needs: it puts them in the right order and adds what lies between them, such as what to write down first, what to check while both run, and what to check before the VPN is switched off.

In short

Write down what the VPN gives today, set up the tenant, build the same reach with gateway assets, Subnets, split DNS and, if needed, an Exit Node. Start broad, let tracking show what is used, run a pilot group next to the VPN, roll out to everyone, and switch the VPN off once Access Insights shows nothing that still needs the broad access.

Before you start

  • Administrator rights on the VPN, in your identity provider and in the Admin Console.
  • Access to the network and firewall settings of each site, to install gateway assets and to read the VPN's configuration.
  • Background: Gateway Assets, Names and DNS and Policies.
  • Time. Plan weeks for the learning period and the pilot, not days.

1. Inventory what the VPN gives today

Open the VPN's configuration and write down four things. Each one maps to a part of XplicitTrust.

The VPN gives Write down In XplicitTrust
Access to networks Every network range users reach, in CIDR notation, and the site it lies in A Subnet on a gateway asset per site
Internal names Every DNS zone that only the internal DNS server answers, for example corp.lindqvist-maschinenbau.example, and the DNS servers that answer it Split DNS
Internet through the office Whether all traffic, or only some, leaves through the office connection, and which services must stay direct An Exit Node with exceptions
Who uses it The groups of people that have a VPN account, as groups of your identity provider The source of the policies, see Import user groups

Also note the ranges that the VPN hands out to its clients and the local networks your users have at home and in the office. You need them in step 5.

2. Set up the tenant and the identity provider

  1. Choose the identity provider your users already sign in to and decide how admins are made: Overview and choosing an IdP.
  2. Sign up and create the tenant: Quick Start.
  3. Work through the After sign-up checklist, in particular the domains and the import of the user groups you wrote down in step 1.

The groups of the VPN accounts need to exist in your identity provider before you can use them in policies. If the VPN keeps its own user list, create the groups there first.

3. Build the same reach with gateway assets

  1. Gateway asset in each network. Install the agent in Asset mode on a Linux or Windows machine in every site that has a range from your list. See Reach a server and Gateway Assets. Windows gateway assets are a public beta; for high traffic, use a Linux gateway asset, see Preview features.
  2. A Subnet for each range. Create it on the gateway asset in that network: Reach an office network.
  3. Split DNS for the internal zones. Make the internal DNS server reachable, grant it with a policy and add its domains under Account → Settings → Network: Set up split DNS.
  4. An Exit Node, only if traffic must leave through the office. If your list says that internet traffic goes through the office today, create one and keep latency-sensitive services such as video calls direct: Send internet traffic through a site. If the VPN only carries the internal networks, skip this.

Do not create policies yet. Step 4 does that.

4. Start broad and narrow down

Copy what the VPN grants today: one policy per user group, with the group as source and the Subnets (and the Exit Node) as destination, on the All service. Turn on Access Tracking on the gateway assets. This is the equivalent of the VPN's full access, with the difference that you can see what is used.

Start open, then narrow down describes how: broad access first, tracking while people work, then one Virtual Asset and one policy per destination with the Subnet Policy Assistant.

You do not have to finish this before the pilot. The broad policies are what lets the pilot users work like they do on the VPN. The narrowing can run in parallel and end before you switch the VPN off.

5. Run a pilot group next to the VPN

Pick a small group that has a mix of devices and sites, with people who tell you when something does not work. Add them to the policies of step 4 (or use a group of their own) and install the app:

Users keep the VPN installed. For the pilot they work through XplicitTrust and fall back to the VPN when something fails, and you note each time it happens.

XplicitTrust and the other VPN client can run side by side on the same device, so the pilot users can try XplicitTrust without giving anything up. If something behaves oddly while both are connected, disconnect the other VPN and try again.

What to check:

  • Overlap of the local network with the Subnet range. A client that already has an address inside the Subnet's range uses its local interface and not the tunnel. A laptop in the office is fine, a laptop at home whose network uses the same range cannot reach the office through the tunnel. Compare the home and office ranges of the pilot users with the ranges in your list. See Check the overlap.
  • Names. Resolve an internal name on each platform: Verify. On Windows, check the rule with Get-DnsClientNrptPolicy, and if it is empty see DNS on Windows.
  • Every site and every group. Each Subnet is reached by at least one pilot user, each internal zone resolves, and each group has someone in the pilot.
  • Internet breakout. If you built an Exit Node, check that a "what is my IP" page shows the office address, and that the excepted services stay direct: Verify.
  • The jobs that run rarely. Month-end, backups, maintenance: they show up in Access Insights only when they run. See Access Insights.

6. Roll out to everyone

Move the remaining groups in waves, one group or one site at a time, and keep the VPN until the last wave is done. Announcement, device deployment and support are in Roll out the agent to the whole company.

7. Switch off the VPN

Before you switch it off:

  1. Access Insights shows nothing that still needs the broad access. Filter with gw:<gateway asset> and look at which sources still reach which destinations through the broad policies. Each destination that is still needed has its own Virtual Asset and policy, see Turn the traffic into precise policies.
  2. The learning policies are gone. Remove the Subnets from the broad policies, or disable or delete them, as in Remove the broad access. Policies only grant access: while a broad policy exists, its group still reaches the whole Subnet.
  3. Everyone has the app and uses it. Connections in Insights lists who is connected; see Insights. Compare it with the list of VPN accounts.
  4. Devices that cannot run the app are handled. Printers, NAS and cameras need their own destination: see Reach a printer, NAS or camera.

Then switch the VPN off in two steps: first disable the accounts or block the VPN gateway, keep its configuration for a few weeks, then remove it. Turn Access Tracking off on the gateway assets when you no longer need it.

Verify

  1. A user who never had the VPN installed connects with the app and reaches a device in each Subnet by its name. See Home.
  2. The VPN's gateway is off and nobody reports a missing connection.
  3. In the Admin Console, the Access Diagnostic shows that a typical user is granted by the precise policies and not by a learning policy.

If it doesn't work

  • A pilot user reaches nothing at home. Probably an overlap of the home network with a Subnet range, see step 5. Give the Subnet a less common range or add the destination another way; see Reach an office network.
  • An internal name does not resolve. See If it doesn't work in the split DNS guide and, on Windows, DNS on Windows.
  • Internet traffic is slow or the calls sound poor. See If it doesn't work of the Exit Node guide.
  • Something behaves oddly while the other VPN is connected too. Disconnect the other VPN and try again.
  • The agent does not register or stays offline. See Repair the installation.
  • Something that worked on the VPN fails after you switched it off. It was not used during the learning period. Look it up in the VPN's logs, then create a Virtual Asset and a policy for it.

Next

See also