Skip to content

Site-to-site VPN

Configure your firewall

This page is for the IT administrator who manages the office firewall. It covers the Connection tab of Network, Site-to-site VPN in the Computle Portal.


The first card, Settings for your firewall, holds Computle’s side of the tunnel. Enter these values on your firewall. Each has a copy button.

The Settings for your firewall card: Our public IP address, Our internal networks and the pre-shared key hidden

FieldEnter it on your firewall as
Our public IP addressThe remote gateway or peer address. The gateway connects to your firewall from this address.
Our internal networksThe remote networks behind the tunnel. Your workstations are in these ranges, which sit inside 100.64.0.0/10.
Pre-shared keyThe pre-shared key for the peer.
  1. Click Generate key.

    The portal creates a random key and stores it sealed. The button reads Generate a new key once a key exists; clicking it replaces the key and the gateway is updated with the new one. Update your firewall with the new key at the same time.

  2. Click the eye icon to reveal the key, then the copy icon.

    The key is fetched only when you reveal it, and each reveal is recorded. The copy button is enabled while the key is shown.

The pre-shared key revealed, with the eye icon to hide it again and the copy icon


The second card, Your side, is what the gateway needs to know about your firewall.

The Your side card with every field filled in and the encryption settings collapsed

FieldWhat to enter
Your public IP addressThe public IPv4 address your firewall presents to the internet. One address.
Your office networksThe private networks behind your firewall that should reach workstations, in CIDR form, separated by commas: 192.168.10.0/24, 10.20.0.0/16. Each becomes its own tunnel. A network inside 100.64.0.0/10 is refused because it overlaps Computle’s own range.
IKE versionIKEv2 unless your firewall supports only IKEv1.
My firewall is behind NATTick if your firewall’s public address belongs to a device in front of it.

Click Save and connect. The portal checks the values before saving. A value it cannot accept is listed in red above the fields:

MessageFix
peerAddress must be an IPv4 addressYour public IP address must be a plain IPv4 address, with no port or mask.
remotePrefix "…" is not valid CIDREvery office network needs a mask: 192.168.10.0/24.
remotePrefix "…" overlaps Computle's 100.64.0.0/10 range and cannot be routedChoose a network outside 100.64.0.0/10.

After a successful save the page reads Applying your changes to the gateway until the gateway has taken the settings. See How it works.


Open Encryption settings (only change if your firewall requires it) to set the proposals. Leave them blank unless your firewall insists on particular algorithms, and enter them in the firewall’s own wording: AES-256, SHA256, Group 14. The gateway normalises the names.

SettingPhase 1 (IKE)Phase 2 (ESP)
encryptionCipher for the IKE security associationCipher for the tunnel
hashIntegrity algorithmIntegrity algorithm
dhGroupDiffie-Hellman groupPFS group. Leave blank to turn perfect forward secrecy off.

Match these on your firewall. The gateway also fixes the following; set your firewall to agree with them:

Gateway settingValue
AuthenticationPre-shared key
Who initiatesThe Computle gateway, from our public IP address
ModeTunnel
Phase 2 lifetime3600 seconds
Perfect forward secrecyOn with the Phase 2 dhGroup when one is set; otherwise off
Dead peer detectionEvery 30 seconds, 120 second timeout, then the tunnel restarts
TunnelsOne per office network, each from our internal networks to that network

A row of buttons above the tabs lists your connections. Click one to select it. You can have up to five.

The connection buttons with two connections, the rename pencil, and the name box beside Add connection

Use a second connection for another office or a data centre with its own firewall.

  1. Type a name in the box at the right of the connection buttons.

    The box reads “Name, e.g. Data centre”. Each name must be unique.

  2. Click Add connection, or press Enter.

    The page reads “name added” and selects the new connection. Computle’s side is already filled in and the connection has its own pre-shared key, so generate and copy that key for the new firewall. If the name is in use the page shows A connection with that name already exists.

    The connection buttons after adding, with Office site-to-site VPN and Data centre, Data centre selected and its badge reading Not set up yet

  3. Fill in Your side for the new connection and click Save and connect.

    The steps are the same as for the first connection; see Your side.

When you have five connections the box is replaced by Maximum of 5 connections reached.

  1. Select the connection and click the pencil beside its name, or double-click the name.

    The name becomes a text box.

  2. Type the new name and press Enter, or click elsewhere.

    The button shows the new name. Escape cancels without saving. If the name is in use the page shows A connection with that name already exists.; if the save fails, Could not rename the connection.

A connection marked read-only cannot be renamed.

A connection marked read-only was set up on the gateway by Computle and is shown for reference. Its fields are disabled, and the banner reads “This tunnel was set up directly on the gateway, so it is shown here for reference only and cannot be changed from the portal.” Contact your account manager to change it.