# Define VPN topology for policy-based VPNs

For a valid policy-based VPN, you must have at least two gateways in the VPN. At least one of the gateways must be listed as a central gateway. The satellite gateways list can be left empty (for a full-mesh topology).

##

The Policy-Based VPN editing view has three tabs. The gateway selection on the Site-to-Site VPN tab determines the following:

- Which gateways are included in the VPN.
- Which gateways form tunnels with each other.
- Which gateways contact each other through a hub gateway instead of contacting each other directly.

You define general VPN topology by classifying gateways as Central Gateways or Satellite Gateways. This classification defines which tunnels are generated on the Tunnels tab, and which gateways can be selected for mobile VPN access on the Mobile VPN tab.

IPv4 Access rules control which connections use the VPN tunnels. Always check the Access rules after you add or remove tunnels.

Note: Each endpoint-to-endpoint tunnel can only exist in one active VPN. If you use the same two gateway elements in more than one VPN, make sure that the topology does not create duplicate tunnels. You can also disable any duplicates of existing tunnels on the Tunnels tab.

For more details about the product and how to configure features, click Help or press F1.

## Steps

1. Select Configuration, then browse to SD-WAN.
2. Browse to Policy-Based VPNs.
3. Right-click the Policy-Based VPN element, then select Edit.
4. On the Site-to-Site VPN tab, drag and drop the Gateways you want to include in this VPN into either of the two panes for the VPN topology.
   - If you add a gateway under Central Gateways, the gateway can establish a VPN with any other gateway in the VPN. The Tunnels tab is populated with tunnels between the endpoints of the gateway you add and the endpoints of all other gateways in the VPN.
   - If you add a gateway under Satellite Gateways, the gateway can establish a VPN only with central gateways in this VPN. The Tunnels tab is populated with tunnels between the endpoints of the gateway you add and the endpoints of the central gateways.
   - The Issues pane alerts you to any incompatible or missing settings that you must correct.
   Note: Be careful to not unintentionally drop gateways on top of other gateways. Dropping gateways on top of other gateways creates a forwarding relationship on a hub gateway.
5. (Optional) If you want to forward connections from one VPN tunnel into another through a hub gateway, drag and drop a gateway on top of another gateway. The gateway is added under the other gateway at the same level as the Sites.
   The Gateway used as a hub requires a special Site configuration.
6. (Optional) If you want to exclude a gateway’s Site (some IP addresses) from this VPN, right-click the Site element under the gateway, then select Disable.
7. (Optional) Define which VPN Gateways provide Mobile VPN access.
   1. On the Mobile VPN tab, select one of the following options:
      - Only central Gateways from overall topology — Only the VPN Gateways in the Central Gateways listed on the Site-to-Site VPN tab provide mobile VPN access.
      - All Gateways from overall topology — All VPN Gateways included in the VPN provide mobile VPN access.
      - Selected Gateways below — Only the VPN Gateways that you add to the Mobile VPN Gateways tree provide mobile VPN access. Drag and drop the VPN Gateways from the Resources pane.
8. Click Save.

## Policy-Based VPN editing view

Use this view to create and modify policy-based virtual private networks (VPN).

Option | Definition
--- | ---
Resources | Use this pane to create and add elements to a VPN.
Search | Opens a search field for the selected element list.
Up (Backspace) | Returns to the previous folder.
New | Opens the associated dialog box to create an element.
Tools | New — Creates an element of the specified type. Show Deleted Elements — Shows elements that have been moved to the Trash. Expand All — Expands all levels of the interface tree. Collapse All — Collapses all levels of the interface tree. Refresh View — Updates the interface tree. Sign VPN Client Certificate — Opens the Sign VPN Client Certificate dialog box. Show Certificates — Shows certificates for VPN gateways. Show Sites — Shows sites for VPN gateways. Show Certificate Requests — Shows certificate requests for VPN gateways.

Option | Definition
--- | ---
Editor toolbar
Save | Saves the changes.
Tools menu
Properties | Opens the VPN Properties dialog box.
Sign VPN Client Certificate | Opens the Sign VPN Client Certificate dialog box.
Filter by Gateway | Shows only tunnels where the selected gateway is used. Only available on the Tunnels tab.
Filter by Firewall | Shows only tunnels where the selected firewall is used. Only available on the Tunnels tab.
No Filtering | Disables filtering.

Option | Definition
--- | ---
Site-to-Site VPN tab
Central Gateways list | Specifies which VPN gateways are central gateways in the VPN. Central gateways can establish a VPN with any other gateway in the VPN.
Satellite Gateways list | Specifies which VPN gateways are satellite gateways in the VPN. Satellite gateways can establish a VPN only with central gateways in the VPN.

Option | Definition
--- | ---
Mobile VPN tab
Select engines that provide Mobile VPN Access | Specifies the gateways that can be selected for mobile VPN access. None — None of the VPN gateways provide mobile VPN access. Only central Gateways from overall topology — Only the VPN Gateways in the Central Gateways list on the Site-to-Site VPN tab provide mobile VPN access. All Gateways from overall topology — All VPN Gateways included in the VPN provide mobile VPN access. Selected Gateways below — Only the VPN Gateways that you add to the Mobile VPN Gateways tree provide mobile VPN access.

Option | Definition
--- | ---
Tunnels tab
Gateway A or Gateway B | VPN Gateway elements are used for Gateway A; for Gateway B, they can be VPN Gateway or External VPN Gateway elements. Right-clicking this type of cell opens these menu items: Properties — Opens the element properties. For VPN Gateway elements, this action opens the Engine Editor. Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Delete Pre-Shared Key — Deletes the pre-shared key for the VPN tunnel. Generate Regular Missing Pre-Shared Key — Generates a pre-shared key for the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view. Monitoring — Opens the Logs view or another Monitoring view according to the option selected from the Monitoring menu. Add Category — Adds a Category to the selected element. Tools Export Elements — Exports the selected element. Generate Certificate — Opens the Generate Certificate dialog box. Export iOS VPN Configuration Profile — Exports a configuration profile for Forcepoint VPN Client for iOS. Save Gateway Contact Information — Saves the contact information for the selected gateway. Lock — Prevents edits until the element is unlocked. Opens the Lock Properties dialog box. References — Shows references to the selected element. Audit History — Opens the Logs view and shows audit log data associated with the selected element.
VPN Profile | To override the default VPN profile for this VPN, select a VPN Profile element for the tunnel. Right-clicking this type of cell opens these menu items: Edit VPN Profile — Opens a menu from which you can select the VPN Profile. Properties — Opens the VPN Profile Properties dialog box. Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Select Profile — Opens the Select Profile dialog box. Delete Pre-Shared Key — Deletes the pre-shared key for the VPN tunnel. Generate missing Regular Pre-Shared Key — Generates a pre-shared key for the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view. Tools Export Elements — Exports the selected element. References — Shows references to the selected element. Audit History — Opens the Logs view and shows audit log data associated with the selected element.
Key | Verifies if the required pre-shared key is properly set. If you use pre-shared keys for authentication with external gateways, either set the key agreed with your partner or export the keys that have been automatically generated for your partner to use. To view, change, or export the pre-shared key, double-click . Right-clicking this type of cell opens these menu items: Edit Key — Opens the Pre-Shared Key dialog box. Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Delete Pre-Shared Key — Deletes the pre-shared key for the VPN tunnel. Generate missing Regular Pre-Shared Key — Generates a pre-shared key for the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view.
Validity | Verifies if the tunnel is valid. If a tunnel has a warning icon in the Validity cell, right-click the tunnel and select View issues. You must resolve all problems indicated in the messages shown. Right-clicking this type of cell opens these menu items: Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Delete Pre-Shared Key — Deletes the pre-shared key for the VPN tunnel. Generate missing Regular Pre-Shared Key — Generates a pre-shared key for the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view.
Forwarding Gateways | Right-clicking this type of cell opens these menu items: Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Delete Pre-Shared Key — Deletes the pre-shared key for the VPN tunnel. Generate missing Regular Pre-Shared Key — Generates a pre-shared key for the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view.
Endpoint A or Endpoint B | Select the endpoint IP addresses. You cannot use the same endpoint in a route-based VPN tunnel and a policy-based VPN tunnel. If loopback IP addresses are defined for a VPN Gateway, you can select a loopback IP address as the endpoint IP address. Right-clicking this type of cell opens these menu items: Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view. Logs by VPN Endpoint — Opens the Logs view and shows log data related to the VPN endpoint.
IPsec Profile | Right-clicking this type of cell opens these menu items: Edit IPsec Profile — Opens the VPN Profile Properties dialog box. Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Select Profile — Opens the Select Profile dialog box. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view. Tools Export Elements — Exports the selected element. References — Shows references to the selected element. Audit History — Opens the Logs view and shows audit log data associated with the selected element.
Mode | Determines how the tunnel is used in a Multi-Link VPN. Right-clicking this type of cell opens these menu items: Edit Mode — Opens the Link Mode Properties dialog box. Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. Standby — The link is used only when all Active or Aggregate mode links are unusable. Active — The link is always used. If there are multiple links in Active mode between the Gateways, the VPN traffic is load-balanced between the links based on the links’ load. VPN traffic is directed to the link that has the lowest load. Aggregate — The link is always used and each VPN connection is load-balanced in round robin fashion between all the links that are in the Aggregate mode. For example, if there are two links in Aggregate mode, a new VPN connection is directed to both links. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view.
Validity | Verifies if the tunnel is valid. Right-clicking this type of cell opens these menu items: Disable — Disables the VPN tunnel. Enable — Enables the VPN tunnel. View Issues — Shows the issues for the VPN tunnel on the Issues tab at the bottom of the view. View Link Summary — Shows a summary of the VPN link status for the VPN tunnel on the Link Summary tab at the bottom of the view.

Option | Definition
--- | ---
Panes in the Policy-Based VPN editing view
Info pane | Shows information about the selected element.
Issues pane | Shows issues in the VPN configuration, such as incompatible settings.
Link Summary pane | Shows a summary of the policy-based VPN configuration.

## Issues pane (Policy-Based VPN editing view)

Use this pane to view and solve VPN issues.

Option | Definition
--- | ---
Description | A description of the issue and recommendations for troubleshooting.
Gateway A | The name of the VPN Gateway element.
Endpoint A | The IP address of VPN endpoint A.
Gateway B | The name of the VPN Gateway element or the External VPN Gateway element.
Endpoint B | The IP address of VPN endpoint B.